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)

cfspinner 01-09-2007 10:00 PM

Ooo...one more thing...can it be modded to autostart media files?

cfspinner 01-12-2007 10:42 PM

Getting complaints that file won't play. You say have to grant view attachment permissions to guests...I don't see where.

cfspinner 01-13-2007 11:11 AM

Finding that if the media file is cached on my computer, it plays fine. I delete my cache, and the media file will not play. Download the file and play it to get it cached, then go back to the site and hit play and it plays fine. Something is definitely wrong. Also if you happen to scroll while the media file is playing, the video doesn't scroll with the player, it stays in its original position for a second, then moves back into the player.

Moya 01-19-2007 01:15 AM

Quote:

Originally Posted by Living in music (Post 1076570)
I'd like it ! Thanks to poster.

eXtremeTim, r u Moya ? :D

:D:D:D:D

Extrem Tim

It is OK with me. Thanks for converting this hack to new system. I was out of the country on a business trip :):)

blazingpc 01-20-2007 02:06 PM

I'm really liking this idea\hack but have just 1 question before install.
I see no screens of the AdminCP layout and want to know if this can be set up in just 1 specific forum?, instead of accross the board.
The reason being I'm wanting to create a "video how to" section for my users to post vids in.

khaleegi 01-21-2007 12:17 PM

Quote:

Originally Posted by blazingpc (Post 1163472)
I'm really liking this idea\hack but have just 1 question before install.
I see no screens of the AdminCP layout and want to know if this can be set up in just 1 specific forum?, instead of accross the board.
The reason being I'm wanting to create a "video how to" section for my users to post vids in.

Hello

No there is no CP for this Mod

marcsmith73 02-06-2007 01:45 PM

reserved

citroenar 02-08-2007 01:58 PM

Quote:

Originally Posted by curriertech (Post 1087514)
It still shows the whole document inline.


I have to remove this from postbit_attachment:

Code:

<if condition="$show[pdfattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_pdf] $pdffilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[pdfattachments]
</div>
</fieldset>

</if>


junaid 02-12-2007 04:59 AM

I have installed and work pefect,
But I want add video downlaoded % always to show in player
I am running 3.6.4
Demo : http://www.mvdig.com/forum.php (need to register to view attachement)

Ntfu2 02-12-2007 01:45 PM

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>



All times are GMT. The time now is 10:19 AM.

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.01077 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (3)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