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>


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

snoop1979 05-01-2007 09:35 PM

ok now i have one little problem, sometimes says loading, then ready, but won't play, but in other computer does play, the file can be downloaded fine, this is weird cuz some files (a few) play fine for me but not for a friend in another location, what can i do?

Lahoria 05-17-2007 07:34 PM

any one got small icon for these media files ?

Lahoria 05-17-2007 09:53 PM

when I try to upload files fize about 3 mg , I get error, !!!!!!!!! I have edited filesize allowed to 20 mb ... any help ?

error :

Internet Explorer cannot display the webpage

Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

What you can try:
Diagnose Connection Problems

More information

eXtremeTim 05-17-2007 10:21 PM

That wouldnt have anything to do with this hack that would more then likely be a problem with your server configuration.

E.Blackadder 05-19-2007 09:46 AM

any chance of adding .flv files to the supported list?

cheers

eXtremeTim 05-19-2007 06:31 PM

Anybody got an flv player thats free that I can include with this hack?

E.Blackadder 05-19-2007 10:57 PM

yep...

here:
http://dw.com.com/redir?pid=10505954...-10505954.html

here:
http://www.jeroenwijering.com/upload...flv_player.zip

here:
http://www.videolan.org/mirror.php?f...8.6b-win32.exe


The last one seems more proffesional...

but there again.. what do i know...lol


thanks for helping..

csavern 06-06-2007 10:44 PM

now when i go to attach file i get a big long list of little boxes with red a red x in them and says undefined
could someone tell me how to fix this problem

csavern 06-07-2007 10:23 AM

and i am running 3.6.7 PL1
if someone could tell me how to uninstall and put it back to the way it use to be i would be thankful
if cant find a way to fix it
to take a look at it you can go here
www.rotormadness.com

csavern 06-28-2007 01:53 AM

Bump

csavern 06-28-2007 04:33 PM

Or Could someone tell me what template to revert to get all them cats of defined off there
Defined is located under the paper clip it got a drop down menu and about defined there about 50 times

m1thr0s 07-03-2007 02:05 PM

I notice that flash (swf) files don't display properly if you choose the browser to play them. I am guessing that this is because the browser has no way to set the html parameters for the swf file so they come out full screen in a new window and just generally look awful.

is the solution to this to find a stand-alone swf file player?

jGas 07-20-2007 06:46 PM

sorry but...i can't make it works with firefox!

from usergroups i select unregistred and make that they can download attachments..and still don't works!

than i edit the forums permissions of the unregistred..and it still doesn't works!

can you help me? thanks!


EDIT: now it works! :D

Aeolian 07-29-2007 12:51 PM

Is it possible to keep the mod ON only for a specific forum?

Thanks

jGas 08-02-2007 06:13 PM

for me it works but for a lot of users of my forum it doesn't...why?

is there nobody that can help me?

thanks.

snoop1979 08-03-2007 05:29 PM

we need and update for this exelent hack, need firefox and other browsers fix

royal666 08-13-2007 05:51 PM

Thanks for this excellent hack, but is there any update a working version of it, please would be appreciated..:)


All times are GMT. The time now is 01:06 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.01298 seconds
  • Memory Usage 1,836KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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