mp4 video files in SWFs- How to embed?


the flash player 9.0.115 , can play mp4 files, getting them in swf begin not easy!

below 3 different methods i've tried, , results.

 

instance a: place flvplayback component on stage, not possible set source video if .m4v, .mp4, or .f4v, or flv.

 

instance b: if encode video file f4v, can use actionscript 3 set source f4v encoded file, if change file extension .flv . if keep f4v. video won't play.

 

vidplayer.source = mymp4movie.flv;

vidplayer.play();

 

instance c: streaming works. have add mp4: prefix file, or in cases, remove file extension altogether.

 

rtmp://flashvideo.rtmphost.com/samples/mp4:stella_pan.mp4

 

if helps understand, here's project— swf/projector playing mp4 video files local media- dvd.

 

this tough nut. can shed light on this.

 



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino DUE ADC to DAC Piezo 30 Khz-100Khz

Indesign and MathType fonts