HTML - Embed Of Audio In An Html Page - How To Keep It Playing?
Greetings.
I have a basic html page, and want to embed audio. I am using: <BGSOUND SRC=myfile.mp3 LOOP=1> So that when my main index.html page loads, that file plays. Two things I want to do: 1) Let it continue playing when I click on another page within my site (it currently stops when I navigate away from index.html) 2) Assuming I can do #1, make it stop playing when I navigate to one page in particular. This possible? Doing a google search, and that's actually how I came up with that code, but cant seem to find anything in regards to making 1 & 2 work. I do not want to do frames, and definitely do not want to do a flash site, which I undertand may be the only way. Any ideas on how to make this work with html? Thanks in advance! Similar TutorialsHi, However, many of thesystems can work with embedded images, media files and so can any one show an example of a simple PDF file embedded within a HTML page? I want to play streaming songs on my website. can anybody give me the html code so that I can play the songs randomly automatically.My two URL of asx files are http://www.playlist.com/playlist/17180213515/asx and http://www.playlist.com/playlist/17174690571/asx Each link is a playlist contains more than 200 mp3 songs. I want to play them such that songs in each link as well as links can shuffle automatically.please reply as soon as possible. I want to keep home page music playing as linked images are viewed. When I post family photos on our site, I like to add background music. My posts consist of a home page containing a table of thumbnails, each linked to its larger image on a separate page. (You can then scroll directly from one larger image to another.) I can EMBED music into the home page, but it stops playing when a linked page/image is opened. I get around this be inserting the table of thumbnails as an OBJECT into a separate home page that contains the music. That works; the music then continues to play as I scroll through the table's links. But there are two problems. First, when the thumbnails table is larger than a single screen, the table develops its own vertical scroll bar, so there are now two scroll bars showing, which is confusing. Worse, the larger images from thumbnails lower in the table are no longer properly positioned when seen on their own pages; you have to scroll each one to get it back into view. Is there a better way to keep the home page music playing as linked images are viewed? I have a Mac Laptop with OSX 10.4, and use Netscape Composer to make my sites. (OK, I'm a dinosaur, but I fear I'm too ancient to be able to learn a different app.) I want to be able to add a mp3 audio file of a sermon to a church website I am building. I have done searches and find a lot of "embed" code, but none of these work. Nothing shows on the web page. What is the simplest way of doing this. I understand "embed" is not a legal word. I have tired "Object", but nothing shows using this command either. Any help will be appreciated. Lawrence Hi everyone, I would like to embed another web site/page into a table on my page. The page I want to embed is mine, so there is no copyright issues. I would like to do this without using frames, unless I can use frames, but there be no scroll bars, just to extend the column downward. I would like it to appear as if you couldn't tell that it was from another page. Any help will be greatly appreciated. Musicman1994 Hi everyone, Now I am trying to put the pdf file on my web page. I use: <embed src="myfile.pdf" width="800" height="700"> but it doesn't appear in the page, it only shows the icon like small square picture. My browser is IE8. Any Suggestion, please.... Regards, Win. Hello, I am designing and building a website and I can't figure out how to do something. I guess you could say I'm an 'somewhat advanced newbie', so just bear with me. Here's what my goal is: I'd like to have, on every webpage, a couple areas that are sourced from an individual file. For example, right under the header I'd like to have an announcement bar. My thoughts are is that I could just make a separate HTML file, called 'Announcement.html' and embed that into the annoucement area. This way, I could just edit the one HTML file and it would make the changes site-wide. I would also like to do this for my header, footer, etc... The main thing that would be unique to the webpage would be the actual content. My thoughts are that I could do this by embeding a HTML file into the webpage, but if there are other ways to go about this, I'd be appreciative of that as well. If you need any other information, I'll be glad to get it for you. Any help will be greatly appreciated, PianoKid I have an .swf file I have created (an internet banner), and I need to be able to upload it to my webpages such as myspace, etc. I have the .swf file loaded into www.photobucket.com -- how do I embed this into html? I need help ASAP so please respond PS- please keep it newbie-fied... yes, I am a noob to html and am attempting to learn alot... so keep it easy, please -blindman Hi, well I didn't know where to post this, but it's about coding and HTML so I think this is it. I would like to add audio (a MP3 file) to my web page, but I have no idea how to do this by HTML. I would like to know: 1.- How do I add a music file (HTML) 2.- Which is the code for the On and Off button. 3.- How exactly do I use frames (i'm totally new in that aspect) in order to have the same music going on in every part of the site even if I change of page instead of strating over agian. Thanks for your help. Hello all. I am still new to HTML coding. I come from the dark side (flash) and am seeing the light anyway I am building a "flash alt" site and I am building it around the Cargocollective.com platform. and I DESPERATELY need a HTML or JAVA or some other iphone / ipad friendly music player for the site. I have been searching for weeks but all I keep finding are the same flash plugs that make the whole concept redundant. any help, guidance, or advice on this matter would be greatly appreciated.... thanks saw some web pages where the video inside came from youtube The whole page was from their own site but the window that showed the video was from youtube. almost like a window into youtube for just that 1 part of the page can this be done with just html? area maps? I really need to do this. My host server gives problems when I embed a video, It would be great just to use youtube please help -marksmolen@mail.com How do I embed a flv and also an ivr file in html? Index of /assets/video By the way, right click and save those while you can. http://www.gelsana.com/assets/video/...logy_video.flv http://www.gelsana.com/assets/video/gm.ivr Hi there!! Please I need help. I am embeding videos to mu blog, but are videos from a TV station so I took the code but is strange I can't make them stop. My users start to be upset about it. <p align="left"><script type="text/javascript"></script> <div id="flashcontent" style="width: 570px; text-align: center;"><script src="http://v.cctv.com/playcfg/js/common.js" type="text/javascript"></script> <object id="flvEmbed" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowScriptAccess" value="always" /><param name="wmode" value="window" /><param name="flashvars" value="id=/2009/2009/09/01/yingshikantaixi_h264418000nero_aac32_20090901_1251767366337&site=http://v.cctv.com&method=http&share=1" /><param name="src" value="http://v.cctv.com/playcfg/CCTVvideoplayer.swf" /><param name="allowfullscreen" value="true" /><embed id="flvEmbed" type="application/x-shockwave-flash" width="480" height="360" src="http://v.cctv.com/playcfg/CCTVvideoplayer.swf" allowfullscreen="true" flashvars="id=/2009/2009/09/01/yingshikantaixi_h264418000nero_aac32_20090901_1251767366337&site=http://v.cctv.com&method=http&share=1" wmode="window" allowscriptaccess="always"></embed></object> I will appreciate your help. thanks! Hi: I have a videos embed in a html page like the code below. <EMBED TYPE="application/x-mplayer2" SRC="videos/bienvenido.avi" NAME="MediaPlayer" WIDTH="190" HEIGHT="190" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="1" align="right"> </EMBED> Is there a way I can figure out when a user has clicked on the play of the video or when the video has been played until the end ? ( In html / javascript or php may be ) Thanks, Michael. I want to embed an HTML file in wordpress, the file has both flash version and an HTML file, when I uploaded the both, the file is not working. What could be the reason? Hello, I am building an offline video sharing site (Like youtube- just not connected to the internet). I want to embed SD (flv)& HD (mp4) videos to this site, when user need only flash player installed on his machine (just like youtube). Can anyone assist me with this html code writing & accessories needed? Thanks, Avi Hey! I'm new. Like the forums! I have an odd question. I have a profile on another website. There's a section called 'About Me' and I can fill it with information about myself (it supports html). But the problem is that there is a 5000 character limit and I well exceeded that. Is there a website that would allow me to type my profile information and then give me some html code and wherever i would paste the code i would get my profile information? Thanks! I am trying to grab a video from an html page. Its not a normal piece of embed code that would be used with youtube. Any help is appreciated. --> Begin code if(typeof(_evpLoad) === 'undefined') { var _evpAssetsLoaded = false; function _evpLoad(url, callback) { if(_evpAssetsLoaded === true) { callback(); return; } var script = document.createElement('script'); script.type = 'text/javascript'; if(script.readyState) { script.onreadystatechange = function() { if (script.readyState == 'loaded' || script.readyState == 'complete') { script.onreadystatechange = null; _evpAssetsLoaded = true; callback(); } }; } else { script.onload = function() { _evpAssetsLoaded = true; callback(); }; } script.src = "http://player.affiliatedotcom.com/player/"+url; document.getElementsByTagName("head")[0].appendChild(script); } } if(typeof(_evpStorage) === 'undefined') var _evpStorage = {}; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='] = {"absolute":"http:\/\/player.affiliatedotcom.com\/","id":"evp-6792edc2f91c81a8da6278a028e3ea1e","div_id":"evp-094b566ec1a42cdc6eecad88387a3342","bucket_name":"evp-4c6a35f2d8d64-1432ff204174466a210d20e6fae5c4c3","file_id":"bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA==","type ":"video","skin":{"tooltipColor":"#5F747C","buttonColor":"#808080","buttonOverColor":"#7d7d7d","bord erRadius":"5","volumeSliderGradient":"none","backgroundGradient":"none","tooltipTextColor":"#ffffff" ,"sliderColor":"#000000","timeBgColor":"#555555","sliderGradient":"none","durationColor":"#ffffff"," progressGradient":"medium","progressColor":"#46a8ec","bufferGradient":"none","timeColor":"#80cbff"," volumeSliderColor":"#000000","backgroundColor":"#212121","bufferColor":"#454545","height":24,"opacit y":1},"finish":"0","local":null,"cloudfront":"d1y9lu9mznaao3.cloudfront.net","splash":true,"splash_i mage":"http:\/\/evp-4c6a35f2d8d64-1432ff204174466a210d20e6fae5c4c3.s3.amazonaws.com\/media-mentors-week-3-webinar-1-splash.png","data":{"width":"640","height":"360","affiliate_id":"","button_text_color":"#FFFFFF","bu tton_body_color":"#000000","html_body_color":"#000000","simple_page_name":"","button_body_translucen t":"true","html_body_translucent":"true","skin":"electric_blue","target":"bWVkaWEtbWVudG9ycy13ZWVrLT Mtd2ViaW5hci0xLm1wNA==","scaling":"orig","shadows":"true","autoPlay":true,"autoBuffering":"true","al low_fullscreen":"true","control_type":"show","promote_software":"","finish":"0","simple_page":"","us e_conversions":"0","use_upsells":"0","source":"bW9kdWxlNHBhcnQxNS0xLmZsdg==","splash":"http:\/\/evp-4c6a35f2d8d64-1432ff204174466a210d20e6fae5c4c3.s3.amazonaws.com\/media-mentors-week-3-webinar-1-splash.png"}}; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='].embed_code = "<div id="evp-094b566ec1a42cdc6eecad88387a3342-wrap" class="evp-video-wrap"></div><script type="text/javascript" src="http://player.affiliatedotcom.com/fr...><script type="text/javascript">_evpInit('bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA==');</script>"; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='].div_id = 'evp-f7be0555750712ba6518ac333444e0d8'; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='].alternate_embed = false; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='].file_extension = 'mp4'; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='].local_assets = ""; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='].project_name = "EasyVideoPlayer Pro"; _evpStorage['bWVkaWEtbWVudG9ycy13ZWVrLTMtd2ViaW5hci0xLm1wNA=='].affiliate_url = "http://%s.webactix.hop.clickbank.net/"; if(typeof(_evpInit) === 'undefined') { function _evpInit(id) { _evpLoad('assets.php?v=1.1.14', function() { _evpGo(id); }); } } ---> end code Hi, So I am lost at how to do this, I have a server side program that scrapes websites (e.g amazon.co.uk) and modifies the content and reserves this as its own page. (I know this sounds naughty but intentions are honorable!) basically I want to set the page to be a header (of my website header) and an Iframe type element containing the full html of the scraped text. Similar to proxify.co.uk Looking at the page source of proxify, they needed to do some serious modification of the page they reserve to achieve this Any ideas how to achieve this simply for example say the page I scraped looks like <html> <body> scraped site </body> </html> I would like to be able to do <html> <body> my header <magic frame> <html> <body> scraped site </body> </html> </magiceframe> </body> </html> |