Up vote 2 down vote favorite share g+ share fb share tw.
I wrote a FireFox addon which has a button on the toolbar. On click event, I am trying to find the EMBED element and try to call pauseVideo() on it, but it doesn't work. I am sure the object I get is the EMBED so no doubt about that, because I display the 'src' var p1 = content.document.
GetElementById("movie_player"); window. Alert(p1. Src); The problem is pauseVideo() doesn't work: try { p1.pauseVideo(); } catch(e) { window.
Alert(e); // this gives 'pauseVideo() is not a function' } Also, the 'allowscriptaccess' attribute is set to 'always'. Any idea why it doesn't work? I am out of ideas.
Thanks! Javascript flash youtube flash-player youtube-api link|improve this question edited Feb 8 '11 at 13:50 asked Feb 8 '11 at 13:39OpCoder636 86% accept rate.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.