diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml')
-rw-r--r-- | Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml b/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml index 2c71e372b52..a5f05bbb425 100644 --- a/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml +++ b/Master/texmf-dist/doc/latex/media9/files/players/VPlayer.mxml @@ -4,7 +4,7 @@ <!-- a FlashPlayer-10 compatible component for playing --> <!-- FLV and MP4/H.264 video files and streams. --> <!-- --> -<!-- version 20140211 --> +<!-- version 20140306 --> <!-- --> <!-- --> <!-- The free Apache Flex 4 SDK is required to compile --> @@ -48,6 +48,7 @@ [Bindable] private var scaleMode:String='stretch'; [Bindable] private var source:String; [Bindable] private var autoPlay:Boolean=false; + [Bindable] private var autoRewind:Boolean=false; [Bindable] private var loop:Boolean=false; [Bindable] private var vol:Number=0.75; [Bindable] private var stepping:Boolean=false; @@ -61,6 +62,7 @@ private function initialise(flashVars:Object):void { source=flashVars.source; if(flashVars.autoPlay=='true'){autoPlay=true} + if(flashVars.autoRewind=='true'){autoRewind=true} if(flashVars.loop=='true'){loop=true} if(flashVars.volume){vol=Number(flashVars.volume)} if(flashVars.scaleMode){scaleMode=flashVars.scaleMode} @@ -260,7 +262,7 @@ id="vidDisp" width="100%" height="100%" scaleMode="{scaleMode}" source="{source}" volume="{vol}" - autoPlay="{autoPlay}" autoRewind="false" loop="{loop}" + autoPlay="{autoPlay}" autoRewind="{autoRewind}" loop="{loop}" mouseDown="if(stepping){vidDisp.play();}else{vidDisp.pause();}this.setFocus();" mouseUp="if(vidComplete) vidDisp.seek(0);if(!stepping){vidDisp.play();}" mediaPlayerStateChange="onStateChange(event);" |