HTML - Flv Player And A Mozilla Public License
Hi everyone,
I am using a code generator at flv-player.net. http://flv-player.net/players/maxi/ It says: The player is under the Creative Commons BY SA and MPL 1.1 license. http://www.mozilla.org/MPL/ It is a Mozilla Public License. It is okay to use for commercial purposes? I want to use the generated code and the player to stream videos from a blog. The blog doesn't charge money to view the videos, but they are only accessible to paying members of the site. Thanks in advance. Similar TutorialsHey guys, Im having a problem with a flash MP3 player and wouldnt mind some advice if poss? Ive made this site: http://www.psycleproductions.com. In the top of the page is a mp3player placed using an Iframe. I had hoped that because the mp3player was on a stand alone html page - when surfing through the site the Iframe wouldnt reset, and reset the mp3player swf file! Unfortunately this isnt the case... Now whenever you navigate round the site, the music playing starts all over again... very annoying! Ive seen on other sites with MP3 players that they have done it the reverse way round. the MP3 player is embedded in the html, and the rest of the site called through Iframes. As i have already made the site (and its quite big really) i was hoping to find a way of placing the mp3 player 'on top' of everything else - so's not to reset! If anyone can point me in the direction of a relatively easy way of gettin round the problem it would be much appreicated!!! thanks peeps Chilly Well im working on my portfolio so other people can see what i have been making through all my work... I have 2 questions and i dont know what the things is called so i will try to explain it and then i hope U guys can help me... 1: okey first of I would like to have a start site so when people enter my site they will get to that site and then U think " LOL ", but the front page need to move to index.php after lets say 10 sec, I just want the start page to have a small warning on it, and then its going to the next page automaticly.... 2: for this i want a music player that is stuck to the buttom bar so when someone scrolls down the music player is folloving.... I have been working with " HTML, FORM, CSS, SCRIPT, DB, and some others im still working on the PHP part but i can keep up if U give me the answer in PHP style... Thanks for Ur time and help by the way srry if this is the wrong forum to post, I have no idea where this questions belong... I tried a few things, but it didn't work. So I'm looking for some simple help to put this video player in a container (or box) with a thin border around it. Any help is appreciated. Code: <center> <div style="height:420px;overflow:hidden;"> <iframe src="[var.base_url]/make_player.php?vid=[var.vid]&player_token=[var.player_token]" style="width:560px; height:420px; border:none;" marginheight="0" scrolling="no" name="flvplayer"> <!--[onload;block=iframe;when [var.video_type] != 'embedded';comm]--> </iframe> <!--start of EmbedVideo Addon Player--> <span> <!--[var.videoembedder_code;htmlconv=no;comm]--> <!--[onload;block=span;when [var.video_type] == 'embedded';comm]--> </span> <!-- end of EmbedVideo Addon Player--><br/><br/> </center></div> <br/><br/> <div><center><a href="[var.base_url]"><font size="3" color="#000000" face="Arial"><b>Return to Home Page</b></font></a></center> I would like to mount a nice looking video player to play videos on my multimedia page that is not Youtube Vimeo ect.. I am going to mount the player within an inline frame that is 600x375 and Ideally I would like it to fit that inline frame like a glove. What are some options for video players out there? i have a drop down media player on my page. it is bigger than i want it to be until i click on a song, then it goes to the size i specified. how do i make it start out at that size? http://freewebs.com/kunaproxy/home.html. that is the page, and the media player is on the left. a little assistance would be great. thanx Hi everyone, Im having trouble with a video that i have put on my website. I have converted it from dvd to divx. Does anyone know of a good converter or if i can put in on to media player and play it off my website. If you can do that will some one be able to post me the html code. Hello viewers, I've setup this website: http://duffyartwork.com. You will notice the flash .mp3 at the top, which brings me to my question. How do I keep the player static and not refresh (i.e start the song over) when the user browses to different pages within the site? It's been buggin' me for days, so any help would be brilliant. I'm looking for a small, simple, and customizable code for a music player. I want one where I can just change the code to point to my music. Something like you see on kelliepickler.com Anybody have a link? Thanks in advance! Hi there, I m using dom with css in my web page. Using the document type <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> My dom effect is not visible in mozilla 2.0. In stead if I am using the document type <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> Is this vaild using w3c standards? Any help in this issue would be appreciable. Thanks in advance Hi there, I m using dom with css in my web page. Using the document type <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> My dom effect is not visible in mozilla 2.0. In stead if I am using the document type <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> the dom effect is visible. Is this vaild using w3c standards? Any help in this issue would be appreciable. Thanks in advance Hello, I have embedded Windows Media Player on this one page I have that streams a live weather radio feed I have here in my Office. In FF it works fine but the player does not work in IE. Here is the URL http://www.mesquitechristmas.com/wea...stmas&state=tx Here is the code for the player that I have embedded. HTML Code: <script language="JavaScript" type="text/javascript"> embedFeed("","http://audiostream.wunderground.com/MesquiteChristmas/DFW.mp3.m3u"); </script> <div align="center"><object height="40" width="200"><param name="type" value="application/x-mplayer2"><param name="src" value="http://audiostream.wunderground.com/MesquiteChristmas/DFW.mp3.m3u"><param name="autostart" value="1"><param name="showcontrols" value="1"><param name="showstatusbar" value="1"><embed src="http://audiostream.wunderground.com/MesquiteChristmas/DFW.mp3.m3u" type="application/x-mplayer2" autoplay="true" autostart="1" controller="1" showstatusbar="true" bgcolor="#FFFFFF" height="69" width="280"></object></div><noscript><br>Your browser does not have javascript enabled and can not use the embedded player.<br>You will need to <a href="http://audiostream.wunderground.com/MesquiteChristmas/DFW.mp3.m3u">click here</a> to listen to this stream using your default audio player.<br></noscript> Here is the Js script for it. HTML Code: // Batmosphere Embedded Media Player, version 2006-05-31 // Written by David Battino, www.batmosphere.com // OK to use if this notice is included // This function reads an MP3 URL and title from the referring page and generates embedding code to play back the audio file. // Windows browsers (except for Internet Explorer) will play back the file with the Windows Media Player *plugin.* Internet Explorer will use Windows Media Player. // Non-Windows browsers will play back the file with their standard audio handler for the MIME type audio/mpeg. On Macs, that handler will usually be QuickTime. var audioFolder = ""; // If you have a default audio directory, e.g., http://www.your-media-hosting-site.com/sounds/, you can put it here to make links on the referring page shorter. function embedFeed(MP3title,MP3URL) { // Get Operating System var isWin = navigator.userAgent.toLowerCase().indexOf("windows") != -1; if (isWin) { // Use MIME type application/x-mplayer2 visitorOS="Windows"; } else { // Use MIME type audio/mpeg, audio/x-wav, etc. visitorOS="Other"; } var audioURL = audioFolder + MP3URL; var objTypeTag = "application/x-mplayer2"; // The MIME type to load the WMP plugin in non-IE browsers on Windows if (visitorOS != "Windows") { objTypeTag = "audio/mpeg"}; // The MIME type for Macs and Linux document.write('<div>'); document.write('<strong style="font-size:18px; position:relative; top:-28px">' + MP3title + ' </strong>'); // Adjust font style to taste document.write('<object width="280" height="69">'); // Width is the WMP minimum. Height = 45 (WMP controls) + 24 (WMP status bar) document.write('<param name="type" value="' + objTypeTag + '">'); document.write('<param name="src" value="' + audioURL + '">'); document.write('<param name="autostart" value="1">'); document.write('<param name="showcontrols" value="1">'); document.write('<param name="showstatusbar" value="1">'); document.write('<embed src ="' + audioURL + '" type="' + objTypeTag + '" autoplay="true" autostart="1" width="280" height="69" controller="1" showstatusbar="true" bgcolor="#000000"></embed>'); // Firefox and Opera Win require both autostart and autoplay document.write('</object>'); document.write('</div>'); document.close(); // Finalizes the document } Any idea what might be causing this? -Thanks Does anyone know how to position the <audio> player so it's stacked on top of a background image? If I make the player visible with <audio controls="controls">. I tried to treat it as an image by: Code: <style> <!-- this is the background image --> #container { display: block; margin-left: auto; margin-right: auto; position: relative; border:none; width: 380px; height: 633px; background-image: url("pictures/kohakuriver1.png"); background-position:center; <!-- this is the audio player --> #container audioplayer { position: absolute; border:none; left: 65px; width: 245px; height: 53px; #audio {top: 700px} </style> ... ... <body> ... <div id="container"> <audio controls="controls"> <source src="music/hupochuanClip.mp3" id="audio" type="audio/mpeg"/> <source src="music/hupochuanClip.ogg" id="audio" type="audio/ogg"/> </audio> </div> </body> It didn't work completely, it did move it to some odd place but not where I want it. Changing the height value won't have any effect (I tried changing it to like 7000px and it's still in the same place). I created an imagemap and then used a code to delete everything on my myspace. Then I inputted the image. My problem is that I would still like music to be playing (specifically, a player from projectplaylist.com) yet for the actual player not to be seen. I've tried it both visible and invisible, and nothing I do seems to work. the code for the imagemap is: HTML Code: <img src="http://aycu04.webshots.com/image/36643/2005878877534999389_rs.jpg" usemap="#Myspace layout" alt="" style="border-style:none" /> <map id="Myspace layout" name="Myspace layout"> <area shape="rect" alt="" coords="16,37,214,57" href="http://www.msplinks.com/MDFodHRwOi8vY29sbGVjdC5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1pbnZpdGUuYWRkZnJpZW5kX3ZlcmlmeSZmcmllbmRJRD0xMDg4NjA3MjYmTXlUb2tlbj1mZTBiZjVkOC1jNDE3LTQwYzMtYWMyZi02YmVmZmVjY2ZhOWI=" title="" /> <area shape="rect" alt="" coords="256,37,392,56" href="http://www.msplinks.com/MDFodHRwOi8vYmxvZy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1ibG9nLkxpc3RBbGwmZnJpZW5kSUQ9MTA4ODYwNzI2" title="" /> <area shape="rect" alt="" coords="443,37,566,54" href="http://www.msplinks.com/MDFodHRwOi8vdmlld21vcmVwaWNzLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPXVzZXIudmlld0FsYnVtcyZmcmllbmRJRD0xMDg4NjA3MjY=" title="" /> <area shape="rect" alt="" coords="601,37,783,56" href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVzc2FnZSZmcmllbmRJRD0xMDg4NjA3MjYmTXlUb2tlbj0wZGQyNDc3ZS03OTZlLTQxYjEtODZjYS1jZGU0YTNlYTk1Mjc=" title="" /> <area shape="rect" alt="" coords="54,303,307,579" href="http://www.msplinks.com/MDFodHRwOi8vdmlld21vcmVwaWNzLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPXVzZXIudmlld0FsYnVtcyZmcmllbmRJRD0xMDg4NjA3MjY=" title="" /> <area shape="rect" alt="" coords="368,360,459,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTExNTQzNjYxNSZNeVRva2VuPWE5MWJkMmFkLTE5ZjYtNDBiNC05MTllLTdjZDFjZGI1YzJmNg==" title="" /> <area shape="rect" alt="" coords="367,456,458,470" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTExNTQzNjYxNSZNeVRva2VuPWE5MWJkMmFkLTE5ZjYtNDBiNC05MTllLTdjZDFjZGI1YzJmNg==" title="" /> <area shape="rect" alt="" coords="476,360,567,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTk3MjAzNDM4Jk15VG9rZW49YTkxYmQyYWQtMTlmNi00MGI0LTkxOWUtN2NkMWNkYjVjMmY2" title="" /> <area shape="rect" alt="" coords="502,456,540,470" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTk3MjAzNDM4Jk15VG9rZW49YTkxYmQyYWQtMTlmNi00MGI0LTkxOWUtN2NkMWNkYjVjMmY2" title="" /> <area shape="rect" alt="" coords="583,360,673,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTE5ODkyNTgwNA==" title="" /> <area shape="rect" alt="" coords="605,455,651,471" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTE5ODkyNTgwNA==" title="" /> <area shape="rect" alt="" coords="694,496,786,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTEzNDcwNjAwOCZNeVRva2VuPTZjZWMxZjI1LTM4MDktNDg3ZC1hMTEyLTg1MWRjYjkzZDVlMA==" title="" /> <area shape="rect" alt="" coords="698,591,783,607" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTEzNDcwNjAwOCZNeVRva2VuPTZjZWMxZjI1LTM4MDktNDg3ZC1hMTEyLTg1MWRjYjkzZDVlMA==" title="" /> <area shape="rect" alt="" coords="583,496,674,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTY0ODcwNjMxJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="613,592,646,611" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTY0ODcwNjMxJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="501,593,542,605" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTUwNTg1MTYyJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="476,495,566,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTUwNTg1MTYyJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="382,592,443,608" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTM0MDA3OTY3Jk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="369,495,459,586" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTM0MDA3OTY3Jk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="704,456,776,473" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTg2NzAxMDYzJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="695,360,785,451" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTg2NzAxMDYzJk15VG9rZW49NmNlYzFmMjUtMzgwOS00ODdkLWExMTItODUxZGNiOTNkNWUw" title="" /> <area shape="rect" alt="" coords="667,644,786,666" href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdmcmllbmRzJmZyaWVuZElEPTEwODg2MDcyNiZNeVRva2VuPTZjZWMxZjI1LTM4MDktNDg3ZC1hMTEyLTg1MWRjYjkzZDVlMA==" title="" /> <area shape="rect" alt="" coords="123,1179,299,1195" href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZS5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj11c2VyLnZpZXdwcm9maWxlJmZyaWVuZGlkPTEwODc5ODM4Nw==" title="" /> <area shape="default" nohref="nohref" alt="" /> </map> the code for deleting the contents of the page is: PHP Code: <style type=text/css> embed, object { display: none } .contacttable, .whitetext12, .nametext, .lightbluetext8, .orangetext15, .blacktext12,.btext, .redtext, .redbtext { display:none; height: 0 !important; visibility:hidden; } td td td td { border:0px;width:0px;text-align:left; } table,td { padding:0px; width:0; background-color:transparent; } table table table { padding:1px; height:.01%; width:100%; } table table,table table table table,table,tr,td { height:0px !important; border:0px !important; } a.text,table div font a,table div div,.navbar font,tr td font { visibility:hidden; display:none; height:0px !important; } table table table table,table table table table td.text, td.text td.text table { display:none; } td.text table table { display:inline; visibility:visible; } table td table tr td.text table { visibility:hidden; } table td table tr td.text table table,table td table tr td.text table table td.text { visibility:visible; } </style> and the code for the playlist is: HTML Code: <div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"><embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player.swf?tomy=http://www.profileplaylist.net/mc/config/config_black.xml&mywidth=435&myheight=270&file=http://www.profileplaylist.net/loadplaylist.php?playlist=538248" menu="false" quality="high" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/><BR><a href=http://www.profileplaylist.net><img src=http://www.profileplaylist.net/mc/images/create_black.jpg border=0></a><a href=http://www.profileplaylist.net/standalone/538248 target=_blank><img src=http://www.profileplaylist.net/mc/images/launch_black.jpg border=0></a><a href=http://www.profileplaylist.net/download/538248><img src=http://www.profileplaylist.net/mc/images/get_black.jpg border=0></a> </div> thank you to anyone who helps :] I have embeded a layer on my page but cannot set the exact location of the player, like move it 10% to the right or 20% to the botton the only attribute i can play with is align which either puts ir extreme left/right or so called centre, so how do i set the exact co-ordinate if you may so i can put it exaclt where i want to. Hi there. I have an 800x600 flash movie, and I was wondering whether it was possible to center it vertically as well as horizontally? Thanks! -Girvo The php script I'm using for a video-sharing site, uses JWplayer as the default player. JWplayer has different embed code to embed the player and allow video files to be played from a different source than the php script source. I want to replace or modify the script code for the Player with the JWplayer code (so it'll play videos from the other source) which shows the other source as http://videos.mywebsite.com/myvideo.flv. How can I modify or integrate this script code with the code below it (the JWPlayer code)? Do I just need to change a few lines? Thanks for any guidance. Script Code: Code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" name="theMediaPlayer" width="300" height="280" id="theMediaPlayer"> <param name=movie value="flvplayer.swf"> <param name=quality value="high"> <param name=bgcolor value="#FFFFFF"> <param name=allowFullScreen value="false"> <param name=swLiveConnect value="true"> <param name=allowScriptAccess value="sameDomain"> <param name="FlashVars" value="file=uploads/[var.video_play]&width=315&height=280&displaywidth=315&displayheight=260&overstretch=true&showfsbutton=false&image=uploads/thumbs/[var.video_thumb]&backcolor=0xFFFFFF"> <embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="300" height="280" bgcolor="#FFFFFF" name="theMediaPlayer" src="flvplayer.swf" flashvars="file=uploads/[var.video_play]&width=315&height=280&displaywidth=315&displayheight=260&overstretch=true&showfsbutton=false&image=uploads/thumbs/[var.video_thumb]&backcolor=0xFFFFFF"></embed> </object> JWPlayer code: Code: script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> swfobject.registerObject("player", "9.0.0", "expressInstall.swf"); </script> <object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200"> <param name="movie" value="player.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="file=http://videos.mywebsite.com/myvideo.flv" /> <object type="application/x-shockwave-flash" data="player.swf" width="328" height="200"> <param name="movie" value="player.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value="file=http://videos.mywebsite.com/myvideo.flv" /> <p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this player.</p> </object> I have embedded the media player on the website using this code: Code: <object type="application/x-shockwave-flash" data="test.swf" width="345" height="90"> <param name="movie" value="../flash/test.swf"> </object> and it works fine except it doesn't seem to be able to load the sound. I have the sound in the same folder as the flash file and the sound runs fine when I test the .swf but not when I embed it into the website. I can not get this FLV Player to align center inside the DIV tag correctly. It drops below center in IE7. Anyone have any suggestions? Site Link I am looking for some script that allows me to insert a media player in to my page, preferably windows media player. I currently have one inserted but i want it to be able to use more than one media file and have previous and next to play other songs. The current one i have is Code: <script type="text/javascript"> AC_AX_RunContent( 'id','MediaPlayer','width','100%','height','190','classid','CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95','standby','Loading Windows Media Player components...','type','application/x-oleobject','src','03-Slinkee Minx - Summer Rain (Alex K Mix).mp3','showcontrols','true','showstatusbar','true','showdisplay','false','autostart','false','filename','03-Slinkee Minx - Summer Rain (Alex K Mix).mp3' ); //end AC code </script><OBJECT ID="MediaPlayer" WIDTH="100%" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject"> <PARAM NAME="FileName" VALUE="05-johnny_cash-long_black_veil.mp3"> <PARAM name="autostart" VALUE="false"> <PARAM name="ShowControls" VALUE="true"> <param name="ShowStatusBar" value="true"> <PARAM name="ShowDisplay" VALUE="false"> <EMBED TYPE="application/x-mplayer2" SRC="05-johnny_cash-long_black_veil.mp3" WIDTH="100%" HEIGHT="190" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="0"> </EMBED> </OBJECT> Like i said this will only play one song that is specified and i want it to be able to play more than one file. Anyone got any good scripts to play multiple media files? Thanks. |