VideoPlayer not playing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VideoPlayer not playing

Hans Nuecke
Hi,

I noticed that video with <VideoPlayer> does not play in air32 unless
this setting is included:
"OSMFSettings.enableStageVideo = false;"

Otherwise I get a black screen. But audio is playing, what tells me that
the file was loaded successfully.

The latest AIR33 SDK of Harman not even starts playing; but does show
the first frame.
The playhead does not move and no "CURRENT_TIME_CHANGE" events are
dispatched, despite mediaPlayerState telling me "playing".

It is possible, though, to move the playhead manually (seek). And the
actual frame changes to that one of the "seeked" frame. But the movie
does not play/advance at all.

Does anybody have any ideas on how I probably could solve this "problem"?

I'm not doing anything special; just setting:

OSMFSettings.enableStageVideo = false;
addEventListener(MediaPlayerStateChangeEvent.MEDIA_PLAYER_STATE_CHANGE,
stateChangeHandler)
addEventListener(TimeEvent.CURRENT_TIME_CHANGE, timeChangeHandler)
seek(0);
autoPlay = false;
source = _moviePath;

And on the spark side:
             <s:VideoPlayer id="videoPreviewPlayer"
                            width="100%" height="100%"
                            loop="false">
             </s:VideoPlayer>


Thanks and regards; stay healthy and enjoy Easter time at home ;-)!

Hans



--

*VservU GmbH / MegaZine3*
CEO: Hans J Nücke
_________________________________________________________

Gorch-Fock-Str. 6  •  81827 Munich  •  Germany

tel: +49 (89) 43906 707     mobile:  +49 (179) 438 3271
email: [hidden email]    website: https://megazine3.de

München HRB 181251          USt-Id:  DE266694113
_________________________________________________________