You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, November 20th 2012, 6:01pm

can i make subtitles to a video?

can i make subtitles to a video?
For example, for a clip using swf as URL for plugin?
my trouble- i can't see any reaction on commands in plagin "Intro" for my swf-subtitle
in xml i use:


<plugin name="title"
url="%SWFPATH%/images/subtitle.swf"
align="centerbottom"
x="14" y="50"
enabled="false"
keep="false"
visible="false"
/>

<plugin name="intro"
url="images/poster.png"
align="center"
alpha="0"
layer="SCREEN"
zorder="12"
keep="true"
onloaded="tween(plugin[intro].alpha,1,0);plugin[video].stop();plugin[title].stop()"
onclick="setvolume(1);do_controls();tween(plugin[intro].alpha,0,1);plugin[video].play();plugin[title].play();set(plugin[intro].enabled, false);set(plugin[video].pausedonstart,false);set(plugin[title].pausedonstart,false)"/>

2

Wednesday, November 21st 2012, 5:37pm

Hi,

you need to provide more information of course!

e.g. what is your subtiltle.swf doing?
and about the 'intro' element in your code - the 'url' points only to an image - and not a videoplayer plugin...

Best regards,
Klaus

3

Thursday, November 22nd 2012, 2:30pm

i delete subtitle.swf and made for another

now it almost work, but question- how to "bind" subtitles for timebar? : http://nfplab.ru/noize/

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

4

Friday, November 23rd 2012, 3:56am

Hi!
It's possible to make subtitles for video by textfield
just check current video time and change html attribute for textfield.
textfield must be over videoplayer plugin at the bottom.
BTW - then you can switch on/off subtitles by hidding textfield ;)

Regards
Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN