From 0f2e8a3f6cc986296e73e726fe1f599cbb6b2e63 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 28 Jul 2015 21:22:14 +0000 Subject: media9 (28jul15) git-svn-id: svn://tug.org/texlive/trunk@37983 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/media9/players/APlayer.mxml | 4 +++- .../source/latex/media9/players/APlayer9.mxml | 4 +++- .../source/latex/media9/players/VPlayer.mxml | 25 ++++++++-------------- .../source/latex/media9/players/VPlayer9.mxml | 22 ++++++------------- 4 files changed, 21 insertions(+), 34 deletions(-) (limited to 'Master/texmf-dist/source/latex/media9/players') diff --git a/Master/texmf-dist/source/latex/media9/players/APlayer.mxml b/Master/texmf-dist/source/latex/media9/players/APlayer.mxml index 263123a369d..29dcd64df0f 100644 --- a/Master/texmf-dist/source/latex/media9/players/APlayer.mxml +++ b/Master/texmf-dist/source/latex/media9/players/APlayer.mxml @@ -348,7 +348,9 @@ function(e:ContextMenuEvent):void{mute();}); this.contextMenu.customItems.push( - new ContextMenuItem("Seek, [\u2190]/[\u2192]", true, false, true)); + new ContextMenuItem("via keyboard:", true, false, true)); + this.contextMenu.customItems.push( + new ContextMenuItem("Seek, [\u2190]/[\u2192]", false, false, true)); this.contextMenu.customItems.push( new ContextMenuItem("Volume, [\u2191]/[\u2193]", false, false, true)); this.contextMenu.customItems.push( diff --git a/Master/texmf-dist/source/latex/media9/players/APlayer9.mxml b/Master/texmf-dist/source/latex/media9/players/APlayer9.mxml index cc1a1a0c629..aae99ffcb27 100644 --- a/Master/texmf-dist/source/latex/media9/players/APlayer9.mxml +++ b/Master/texmf-dist/source/latex/media9/players/APlayer9.mxml @@ -338,7 +338,9 @@ function(e:ContextMenuEvent):void{mute();}); this.contextMenu.customItems.push( - new ContextMenuItem("Seek, [\u2190]/[\u2192]", true, false, true)); + new ContextMenuItem("via keyboard:", true, false, true)); + this.contextMenu.customItems.push( + new ContextMenuItem("Seek, [\u2190]/[\u2192]", false, false, true)); this.contextMenu.customItems.push( new ContextMenuItem("Volume, [\u2191]/[\u2193]", false, false, true)); this.contextMenu.customItems.push( diff --git a/Master/texmf-dist/source/latex/media9/players/VPlayer.mxml b/Master/texmf-dist/source/latex/media9/players/VPlayer.mxml index ff3dc7962b0..c83ef4e3999 100644 --- a/Master/texmf-dist/source/latex/media9/players/VPlayer.mxml +++ b/Master/texmf-dist/source/latex/media9/players/VPlayer.mxml @@ -4,7 +4,7 @@ - + @@ -51,7 +51,6 @@ [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; private var vidComplete:Boolean=false; private var deltaSeek:Number; private var curTime:Number; @@ -67,7 +66,6 @@ if(flashVars.loop=='true'){loop=true} if(flashVars.volume){vol=Number(flashVars.volume)} if(flashVars.scaleMode){scaleMode=flashVars.scaleMode} - if(flashVars.stepping){stepping=flashVars.stepping} } private function onProgress(event:ProgressEvent):void { @@ -152,10 +150,6 @@ } } - private function onEnterFrame(e:Event):void { - if(stepping&&vidDisp.playing){vidDisp.pause();} - } - private function onCurrentTimeChange(e:Event):void { if(vidDisp.playing&&pauseAtPos>=0&&vidDisp.currentTime @@ -331,7 +324,7 @@ /> diff --git a/Master/texmf-dist/source/latex/media9/players/VPlayer9.mxml b/Master/texmf-dist/source/latex/media9/players/VPlayer9.mxml index 5ecbaaf4d53..4379385d75b 100644 --- a/Master/texmf-dist/source/latex/media9/players/VPlayer9.mxml +++ b/Master/texmf-dist/source/latex/media9/players/VPlayer9.mxml @@ -4,7 +4,7 @@ - + @@ -37,7 +37,6 @@ [Bindable] private var autoPlay:Boolean=false; [Bindable] private var loop:Boolean=false; [Bindable] private var vol:Number=0.75; - [Bindable] private var stepping:Boolean=false; [Bindable] private var keepAspect:Boolean=true; private var vidComplete:Boolean=false; private var deltaSeek:Number; @@ -55,7 +54,6 @@ if(flashVars.autoPlay=='true') autoPlay=true; if(flashVars.loop=='true') loop=true; if(flashVars.volume) vol=Number(flashVars.volume); - if(flashVars.stepping) stepping=flashVars.stepping; if(flashVars.scaleMode && flashVars.scaleMode!='letterbox') keepAspect=false; } @@ -141,10 +139,6 @@ } } - private function onEnterFrame(e:Event):void { - if(stepping&&vidDisp.playing){vidDisp.pause();} - } - private function onPlayheadUpdate(e:Event):void { if(vidDisp.playing&&pauseAtPos>=0&&vidDisp.playheadTime -- cgit v1.2.3