HTML - Embeded Url In Html Object?
Okay, that may sound like a funny title, but here is the deal.
I have an MP3 player on my website. The original file is attached to this post. You must, if you want to test it, include it as a file in your domain. Anyway, here is the code for it. Please let me warn you that I use BBCode in my forum. HTML I do not allow, so what I have to do is take the original HTML code and place it in the text area, then use BBCode to make it work. My initial example which works! Code: <object type="application/x-shockwave-flash" data="mp3player/emff_lila_info.swf" width="200" height="55"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="mp3player/emff_lila_info.swf" /> <param name="quality" value="high"> <param name="FlashVars" value="src={URL}" /> <embed src="mp3player/emff_lila_info.swf" quality="high" name="lilaplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" width="200" height="55"> </object> <br> <small>MP3 by: cisco007</small> Please note this line: Code: <param name="FlashVars" value="src={URL}" /> The {URL} is the indicator that I use to type the location of the MP3 file. For example http://MyWebSite/FolderOne/FolderTwo/FolderThree.mp3 What I have been trying to do with little to no success is make it so that the only thing I have to type is, "FolderTwo/FolderThree". I don't know why I'm unsuccessful in this endeavor but I am. Currently my code looks like this: Code: <object type="application/x-shockwave-flash" data="mp3player/emff_lila_info.swf" width="200" height="55"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="mp3player/emff_lila_info.swf" /> <param name="quality" value="high"> <param name="FlashVars" value="src=http://www.place4musicians.com/Free_Music/{SIMPLETEXT}.mp3" /> <embed src="mp3player/emff_lila_info.swf" quality="high" name="lilaplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" width="200" height="55"> </object> </b> <small>MP3 by: cisco007</small> Please notice the same line again: Code: <param name="FlashVars" value="src=http://www.place4musicians.com/Free_Music/{SIMPLETEXT}.mp3" /> The {SIMPLETEXT} should be for "FolderTwo/FolderThree", but it does not work. Please anyone who has a little knowledge of this help me out! Thanks in advance. I'll go ahead and let you know that I've posted this request on four different sites, and I haven't even had a single reply. I hope someone here can help me!! Similar Tutorialsplease help. i used html <object> tag and i embeded a .swf flash file inside my html page... everything worked great until here.... now i want to let the visitor of my page to be able to navigate through my .swf file through my own navigation bar buttons that i want to put above the .swf file... i want my visitor to be able to press the avigation bar buttons to play and stop and forward and backward and rewind and so on... i dont want my visitor to press the right mouse button when he over the flash object to navigate i want to have my own navigation static bar above the flash.... what solutions there is to this problem....? what is the best solution ? best regards. hi I am making web page in html . I have problems showing my swf files when I embed it in HTML files I have designed.When I export the swf files, should I export with swf and both HTML files next time?Also I have the flash player plug-ins installed on Mozilla, and IE, it is still not showing the swf files on my HTML pages. I have seen many web site design company sites which great in looks.I want to make that type of page? Any suggestion? Hello folks, I don't know almost anything about html code. I was using this simple html code for years, anytime I needed to stream one of my videos. <html> <head> <title></title> </head> <body bgcolor=="000000"> <table width="1280" height="736" align="center"> <tr> <td><embed src="BGI.mov" height="736" width="1280" align="middle"controller="true"></td> </tr> </table> </body> </html> Video file has name BGI.mov and is located in the same folder as html. The problem is, that it takes forever for video to download, sometimes 6-8 minutes. here is the URL of html page: http://www.bcoutback.com/videos/bgi.html I have talked to QuickTime guys and they did not find anything wrong with the file and they suggested that this HTML code is no longer good. Apparently, there is now completely different way of embeding video files and it has to do with applying functions. So I am wondering if someone could give me some simple advise how to write this simple code in the modern way. Please, keep in mind that I am complete html beginner. Thank you so much for your help. Hello, I am wondering if something is possible.. and if it is, how I would go about accomplishing the desired result.. This is a sample page to illustrate the problem http://comp.uark.edu/~bcagnin/test/index.html Is there a way to resize the object from a link that is within the website being displayed in that very same object?? Also, I am willing to use iframe if there is a solution that can be found with that... Thanks!! Tyrick I been reading books and taking online tutorials to start mixing php in with html, one of the basic examples from the books is echoing something unto a html site, done like this: <html> </body> <? echo "<p>Processed."; ?> </body> </html> The output should be the word "Processed" on the webpage but the output instead is this: Processed.";?> Everything after <p> is displayed. I checked the source code and this changes color: <? echo "<p> While everything else remains black and is displayed. I tried putting a </p> at the end and it reads it and sends everything after that to another line but it stills displays it. I also tried <h1> and others, everything time i open < and close> it stops reading and just displays everything after the > Simple ' instead of " don't change anything either. Any help or advice is appreciated. 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. Hello everyone as you can tell i just got her. Im looking for some help with a huge problem thats been bugging me an took me 4 hours of research to get no where. The problem: Whenever i try and embed flash in a web page (Flash and Dreamweaver CS3) when i preview it no problems. When i upload it, no flash appears, there should be a banner top and bottom an a flv flash movie in the middle. Nothing works. Even embedding a youtube video creates the same problem. Firefox also says you need a new version of flash but i have the newest version. An for others it does nothing www.tosographics.com I get errors when i do a validation check all the same but for the different flash components "The Tag: "embed" is Not found in currently active versions what do i do, im getting loads more problems i might be able to solve but this is the painful one. When i start a new html document what do i use xhtml or html what please please help. I will provide the code is someone thinks that will be of any use. Also if the code is asked for i would greatly appreciate someone fixing it for me posting it back in here an showing me where i went wrong im totally new to HTML When i start a new document i have many choices but which one do i use for embedded flash to work properly with no errors doctype: none html 4.01 Strict html 4.01 Transitional xhtml 1.0 Strict xhtml 1.0 Transitional xhtml 1.1 I have uploaded a video on to putfile but they dont display anycode for me to embed th e video into my site. So i opend up the page source and found the code they are using to embed the video on there page and i copyed and pasted this code onto my site and it was working fine. About 20 minutes latter i checked the site again and the video was not working so i checked there page source again and they had changed the src url of the video. How come they do this? and is there any way round this? Before anyone says i cannot upload to sites like youtube because my video doesnt display properly since it has to open in a windows media player. Below is my code & how it looks... what im trying to do is type in the area inbetween where theres nothing... i tried placing text in alota areas im thinking either it cant be done or needs extra coding Code: <div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"> <object width="435" height="270"> <param name="movie" value="http://www.profileplaylist.net/mc/mp3player_new.swf"> </param> <param name="allowscriptaccess" value="never"> </param> <param name="wmode" value="transparent"> </param> <param name="flashvars" value="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black.xml&mywidth=435&myheight=270&playlist_url=http%3A%2F%2Fwww.indimusic.us%2Floadplaylist.php%3Fplaylist%3D66633792%26t%3D1259344566&wid=os"></param> <embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player_new.swf" flashvars="config=http%3A%2F%2Fwww.indimusic.us%2Fext%2Fpc%2Fconfig_black.xml&mywidth=435&myheight=270&playlist_url=http://www.indimusic.us/loadplaylist.php?playlist=66633792&t=1259344566&wid=os" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" border="0"/> </object><br/></div> hello I tried to publish a flash video so I could use it as a website background. everything works great in dreamweaver, but when I transfer all my files to my schools server the video no longer works. does anyone have some ideas? Ill provide files if needed. Thank you-Micah Hi, I have a site that has embeded Youtube videos. These pages load fine and videos appear in Firefox, but not in I.E. Any ideas? BMW Crazy Car Videos I have a problem with an .swf in the object-tag. On the site, http://www.careerbuilder.se/se/page.aspx?pagever=cb_new, i have a swf that works as it should in FF, but not in IE. The user should be able to click on the large picture inside the flash for a new site to open. This works as I said in FF, but not in IE. This is my object script. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="image flipper" width="638" height="250" align="middle" id="image flipper"> <!--<param name="allowScriptAccess" value="sameDomain" />--> <param name="movie" value="http://www.tekniskajobb.se/knut/slideshow/feature.swf?introMsgText=http://www.tekniskajobb.se/knut/slideshow/xml/feature.xml" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="wmode" value="opaque" /> <embed src="http://www.tekniskajobb.se/knut/slideshow/feature.swf?introMsgText=http://www.tekniskajobb.se/knut/slideshow/xml/feature.xml" quality="high" bgcolor="#ffffff" width="638" height="250" name="image flipper" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/> </object> Does anyone have a solution to my problem? / Thanks I have two objects on the same page, one menuline on the left and an embeded pdf-file. My problem is: The menu-object is behind the pdf-object and I want to put the menu-object over the pdf-object. <EMBED src="folder_name/filexxx.pdf" width="444" height="345"></EMBED> http://www.henningbrekken.net/eliselektro/opvc-jz.html If some can help me, I will buy a christmaspresent for that person... he-he Yours sincerly Henning Ok, so I'm trying to revamp my website to be W3C standards-compliant. Here's what I have currently: http://www.xboltz.net/index-new2.html I have a sidebar in a separate HTML document, that I bring in with an object tag, in order to make it easier to add new pages since I don't have to change every other page to add a link. I thought that by setting the object height at 100%, it would scale according to the height of what was inside the box, but it scales to the browser window instead. At 1024x768 and with all three collapsible elements open, a scrollbar appears in the object. Is there a way to make it so the whole page can be lengthened according to what's inside the box? And another thing that's really more important; the links do not work in IE. I tried 7 and 8, and the links all open inside the object, as opposed to the full window. It does that with both target="_parent" and target="_top". The links work in Firefox just fine. Hi, I am a newbie and trying to develop a web site with HTML over IIS. I have inserted a flash (swf) object into the html code and am able to see the object displayed via IIS (right-click virtual directory and browse). However, it does not show if I try to access the same page via IE with http://localhost/Other. Only the text gets displayed. What could be the reason. Thanks. My site is www.realcrazyestate.com Right at the top of it, I have 3 flash animations. The top banner is animated, and then left and right of the main body text I have an animation of the Sears Tower popping up. Obviously, the banner loads first, but I want to make sure that when the sears towers pop up they come up simultaneously. My question is, when an HTML page loads, does: 1. If there are multiple objects in the page, but they are identical, does the browser download each object separately or does it just download the object once and then reference it out of cache for the second time it comes up in the web page? If the browser downloads an object twice, is there a way to make it do it only once to be more efficient with page loading? 2. Is there a way to make sure that both of the Sears Tower animiations load simultaneously in every case? I don't want one tower popping up before the other. Thanks! I am using another persons code for our band's MySpace.( With some of my own) I am trying to display the shows section and the music player. When i insert the shows section the music player always displays behind the shows section. It is displaying the music player within the limits of the shows section. How do i make the music player seperate? Here is the code for the entire site with the music and show sections bolded. Code: <i class=i>!--START CODE IN BAND MEMBERS --!</i> <i class=i> !-Start Div Overlay Content Block-! <a href="http://www.msplinks.com/MDFodHRwOi8vdmlld3MtdW5kZXItY29uc3RydWN0aW9uLmJsb2dzcG90LmNvbS8="> myspace code tutorials by Eileen</a> !-Close 3 layers of cell/row/table. This puts our Div ONE table deep. </i> </td></tr></table> </td></tr></table> </td></tr></table> <i class=i>!-Create and size our div. We will never close this div. It will close when the containing table closes-! </i> <i class=i>!!! MODIFY width to the SAME width as your core image !!!</i> <div class="myCoreDiv" style="position:relative; top:0px; width:799px; height:auto; border:2px green solid;"> <i class=i> when DONE editing CHANGE the border:2px to border:0px or change the magenta to the color you want your border.----!</i> <i class=i> !----START CUSTOM CONTENT BLOCK 1----!</i> <img src=http://i42.tinypic.com/16iz2j5.jpg> <img class="grid" src="http://i11.tinypic.com/4pczehk.gif" style="position:absolute; top:0px; left:0px;"> <span class="off">!-START COMMENT FORM-!</span> <div class="myCommentFormD"> <form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"> <input name="friendID" value="445328869" type="hidden"/> <textarea name="f_comments" class="myFormBox"></textarea> <center> <input type="submit" value="Post Comment" class="myPostCommentButton"/> <input type="reset" value="Clear" class="myClearButton"/> </center> </form> </div> <span class="off">!-END COMMENT FORM-!</span> <i class=i> !----END CUSTOM CONTENT BLOCK 1----!</i> <i class=i>!-Open 3 layers of table/row/cell-!</i> <i class=i>!-IF do NOT want any content from my Right side, I can use i instead of L1-!</i> <table class="L1" ><tr><td> <i class=i>!-The below class i hides the remainder of the general table-!</i> <table class="i"><tr><td> <table class="i"><tr><td> <style>.i {display:none}</style> <i class=i>END CODE IN BAND MEMBERS</i> <i class=i>!START code in Influences !</i> <i class=i>!START Style Block For Hiding Elements on Band Page! <a href="http://www.msplinks.com/MDFodHRwOi8veGlpaS51cy9tcy9iYW5kLWhpZGUtYWxs">MySpace Band Hide Everything</a> </i> <style> .i, div.clearfix i i i {display:none} {! fix a centering problem, and clear white space caused by clear gifs !} td {width:auto;} table td img {display:none;} {! restore any images displayed inside our div. You may want to use block instead of inline for some images. !} table td div.myCoreDiv img, table td div.myCoreDiv table td img, table td div.myCoreDiv div img {display:inline;} {!OPTIONAL restore image on maroon nav bar, we could use a.navbar img!} div table td a.navbar img {display:block;} {! removes most content and the space it occupied !} table table table {display:none} {! minimize the remaining main page content that can not be removed without effecting the ad and menus !} table table td { height:0px; margin:0px; padding:0px;} {! restore my div. !} table div.myCoreDiv {display:block;} {! restore div with Comments !} table div.myCoreDiv div.myDclassFC {display:block;} table div.myCoreDiv div {display:block;} table table br {display:none;} table table table br {display:block;} {! OPTIONAL decrease space between bottom and bottom menu, and between bottom menu and cc thing !} {! does not work in Safari !} table div br {line-height:4px;} {! reverse effect on custom div !} table div.myCoreDiv br {line-height:11px;} {! remove default background coloring !} table table, tr, td {background-color:transparent !important} {! ONLY if you want to remove the blue behind the ad banner AND the maroon !} div.profileWidth table, div.profileWidth td {background-color:transparent !important} div table {border-bottom:none !important;} {! ADDITIONAL STYLE BLOCKS CAN GO HERE !} <style> {!- shows -!} table table td.text div {position:absolute; width:440px; height:130px; overflow:scroll; overflow-x:hidden; top:30px; left:415px;} {!- UnDo effect on Div in Friend and Comment spaces -!} table table td.text table div {position:static; height:auto; overflow:hidden} table table td.text div.commentlinks {display:none;} table table td.text div table {display:block} {!-fix column width of shows-!} {!-set below px width to the width of your shows space-!} table table td.text div table td, table table td.text div table {width:425px;} table table td.text div table table {width:100% !important} {!-adjust below value as needed-!} table table td.text div table table table {width:40% !important} </style> <style> {!-music player-!} table table td.text div object {position:absolute !important; top:196px !important; left:100px} table table td.text div object object {position:static !important;} </style> Hi everybody I know what is CLASSID. But, when embedding an ActiveX control into my Web page, what CLASSID should I include. For example, I want to embed Microsoft Agent "Merlin", how can I know what is its CLASSID. Any help will be highly appreciated. Here's the link to my test web page with a short slideshow embedded in it. http://www.prestigekitchensandbaths.com/test/index.html The slideshow movie is in FLV format, and it works fine in FF, Opera and Safari. Funny thing is that it works fine in IE when I test it on my desktop (Windows XP), but it won't work at all when I test it in IE on my laptop (Windows 7). Any idea why that would be? I'm using the FLV Player to play my video, as it gives me nearly all the parameters I was looking for, it doesn't require any scripting, and it's open source. Also, it seems to work with all the major browsers while not forcing me to use the EMBED tag, which is deprecated now and shouldn't be used. But it still boggles my mind why it would work in IE on one of my computers but not on the other. |