mediaplayer fullscreen not working

Reply

Join Date: Sep 2009
Posts: 22
Reputation: digtokiller is an unknown quantity at this point 
Solved Threads: 0
digtokiller digtokiller is offline Offline
Newbie Poster

mediaplayer fullscreen not working

 
0
  #1
Oct 25th, 2009
Hello.
i use this script to my mediaplayer on my website.
but the fullscreen button is not working.
can anyone come with anything there can help?
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. INPUT TYPE="BUTTON" VALUE="Play" OnClick="Player.URL='my\music\song.mp3'">
  2. <INPUT TYPE="BUTTON" VALUE="Stop" onclick="Player.controls.stop()">
  3. <INPUT TYPE="BUTTON" VALUE="Pause" onclick="Player.controls.pause()">
  4. <INPUT TYPE="BUTTON" VALUE="Full Screen" onclick="if(Player.playState == 3) Player.fullScreen = 'true'">
  5. <p></p>
  6. <script type="text/javascript">
  7.  
  8. if(-1 != navigator.userAgent.indexOf("MSIE"))
  9.  
  10. {
  11.  
  12. document.write('<OBJECT id="Player"');
  13.  
  14. document.write(' classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"');
  15.  
  16. document.write(' width=300 height=200></OBJECT>');
  17.  
  18. }
  19.  
  20. else if(-1 != navigator.userAgent.indexOf("Firefox"))
  21.  
  22. {
  23.  
  24. document.write('<OBJECT id="Player"');
  25.  
  26. document.write(' type="application/x-ms-wmp"');
  27.  
  28. document.write(' width=300 height=200></OBJECT>');
  29.  
  30. }
  31.  
  32. </script>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum


Views: 535 | Replies: 0
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC