vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Playing Attached Media Files Inline (https://vborg.vbsupport.ru/showthread.php?t=126756)

jahshaka 04-11-2007 09:33 AM

this is awesome, works for me however i would like it to play the files in a pop-up window vs incline - how hard would this be to do?

so basically if they click on the video attachment, it would pop up your player in its own page...

eXtremeTim 04-15-2007 03:43 AM

Thanks for this fix. I will test it out and see about updating the hack. Including a few new features. ;)

MissKalunji 04-19-2007 06:48 PM

Quote:

Originally Posted by Ntfu2 (Post 1180625)
I've fixed so one template so they play in firefox just fine.

replace the postbit_attachmentwmv with this one if your having problems :)
Code:

                       
                                <br>
                                <center>
                                <table border="0" align="center" width="400" cellspacing="0" cellpadding="0"  height="350">
                                        <tr>
                                                <td class="thead" width="100%" height="25">
                                                        <center>
                                                                <font color="#FFFFFF">
                                                                        WMV Attachment
                                                                </font>
                                                        </center>
                                                </td>                               
                                        </tr>
                                              <tr><td>
      <OBJECT id='mediaPlayer' width="400" height="300"
      classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
      codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
      standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
      <param name='fileName' value="$wmvfilenameandlocation">
      <param name='animationatStart' value='true'>
      <param name='transparentatStart' value='true'>
      <param name='autoStart' value="false">
      <param name='showControls' value="true">
      <param name='loop' value="false">
      <EMBED type='application/x-mplayer2'
        pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
        id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
        bgcolor='darkblue' showcontrols="true" showtracker='-1'
        showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
        src="$wmvfilenameandlocation" autostart="false" designtimesp='5311' loop="false">
      </EMBED>
      </OBJECT>
      </td></tr>
      <!-- ...end embedded WindowsMedia file -->
    <!-- begin link to launch external media player... -->
        <tr><td align='center'>
        <a href="$wmvfilenameandlocation" style='font-size: 85%;' target='_blank'>Click Here To Download this Movie</a>
        <!-- ...end link to launch external media player... -->
        </td></tr>               
                                        <tr>
                                                <td class="thead" width="100%" height="25">
                                                        <center>
                                                                <font color="#6600FF">
                                                                        <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>$attachment[filename]</a> ($attachment[filesize], <phrase 1="$attachment[counter]">$vbphrase[x_views]</phrase>)
                                                                </font>
                                                        </center>
                                                </td>                               
                                        </tr>
                               
                                </table>
                                </center>
                                <br>


Nop that didn't work

eXtremeTim 04-20-2007 04:00 AM

Im currently researching on this problem to see whats going on so we can get it fixed. :)

MissKalunji 04-20-2007 01:15 PM

Oh ok my bad :) Cool

odie3 04-21-2007 03:39 PM

Nice, installed. Any chance on graphics for the new Mime Types?

eXtremeTim 04-23-2007 09:29 AM

I have graphics somewhere that I was using on my site let me see if I can find them and ill post them for you. :)

odie3 04-23-2007 01:38 PM

cool, thanks!

TopKing 04-24-2007 10:54 AM

Its a cook hack :)

What about playing .3gp files.... (mobiles video Files)
can it be integrated with this hack???

snoop1979 04-30-2007 08:31 PM

works perfect thanks, and very simple i love that


All times are GMT. The time now is 10:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01182 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete