vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   For all who are good with video embeding or such, pls help :( (https://vborg.vbsupport.ru/showthread.php?t=267774)

goxy63 08-01-2011 01:32 PM

For all who are good with video embeding or such, pls help :(
 
I am using JW player on my forums, code which I use (BB code) and everything works just fine
Code:

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="520" height="420">
        <param name="movie" value="flv/player.swf" />
        <param name="allowfullscreen" value="true" />
        <param name="allowscriptaccess" value="always" />
        <param name="flashvars" value="file={param}" />
        <embed
            type="application/x-shockwave-flash"
            id="player2"
            name="player2"
            src="flv/player.swf"
            width="520"
            height="420"
            allowscriptaccess="always"
            allowfullscreen="true"
            flashvars="file={param}"
        /></object>

but....
My BIG problem is how to use captions/subtitles with video files that I embed?
My player file as you can see in code above is in forum root "flv/player.swf"
My subtitle folder which I created is in "flv/captions" where i got few subs in "srt" format

what to place within bb code right after ".flv" to play subs and how to change code above to make it work, pls if u can help

at least your code which you use posted here would help me to find solution, or give me idea what I should change

Thank you:o

BirdOPrey5 08-03-2011 10:28 AM

You could use the bbcode "option" to set the name of the caption file, such as:

[player="captionfile.srt"]whatevervideo.flv[/player]

and use {option} in the bbcode like {param}.

But you would need to find out from jw player support how to implement subtitles in the code.

goxy63 08-03-2011 11:15 AM

Will play a bit with it

Thanks


All times are GMT. The time now is 04:58 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.01020 seconds
  • Memory Usage 1,711KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete