26 Apr 2011

Playlist on embeded Media Player- Java Srcipt - html

Download the javascript file here: http://www.liamalexander.com/scripts/playit.js

To embed WMV video files into web pages and make the videos play within the page, copy and paste this code into the BODY section of your code:  (change the file paths to your own video files and javascript, but this code will work as it is).

<!--begin HTML code -->
<div align="center">
<script language="javascript" type="text/javascript" src="YOUR .JS FILE ON SERVER"></script
<div>
<SPAN id=music1>
<OBJECT id=mediaPlayer codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 type=application/x-oleobject height=400 standby="Loading Microsoft Windows Media
Player components..." align=center width=470 style="margin-left: 0px" classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95>
<embed type="application/x-mplayer2" pluginspage="
http://microsoft.com/windows/mediaplayer/en/download/" bgcolor="darkblue" showcontrols="true" showpositioncontrols="true" showstatusbar="tue"
showgotobar="true" src="first_pop_printer_friendly_data/none.htm" autostart="true" designtimesp="5311" loop="true" height="400" width="470">
</OBJECT></SPAN>
</div>
</div>
<p>
<div align="center">
<div style=" font-family:arial; font-size:14; color:black">
<b>select title</b>
</div>
</div>
</p>
<div align="center">
<SELECT id=cancion onchange=PlayIt() size=1 name="cancion" style="width: 300; color:#000000; height:30; background-color:#FFFFFF;">
<option value="">-- Please Select Video File --</option>
<option value="http://.../movie1.wmv"> movie 1
</option>
<option value="http://.../movie2.wmv"> movie 2
</option>
</SELECT>
</div>
<!--end HTML code --> 
 
Terima kasih telah berkunjung.
Info:
Daftar Satellite dan Channel bisa di lihat disini
Update harga Receiver dan lainnya bisa dicek disini
Terkait...



On Facebook



0 komentar: