Skip navigation
Currently Being Moderated

How to add event listener to Embedded flash player

Apr 18, 2013 2:15 PM

Tags: #flash #player #embedded #eventlistener

I am trying to add eventlistener to this video so that can play some video immediately after the preroll_src ends. Using Adobe media server to run an html5 video player that can fall back to inhertied flash player.See the code:


<div id="videoDiv">



var html="";


html += '<embed src="swfs/SampleMediaPlayback.swf" width=';

html +=xwidth+' height=';

html+=xheight+' id="SampleMediaPlayback" quality="high" bgcolor="#000000" name="SampleMediaPlayback" allowfullscreen="true" pluginspage=""     flashvars="&src=';

html+=preroll_src+'&autoHideControlBar=true&streamType=vod&autoPlay=fa lse&verbose=true" type="application/x-shockwave-flash">';

html += '</embed>';



More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points