HTML - Imbeding A File Into A Page
sorry ill rephrase this. how do i embed a .avi file. and not have the play/stop buttons if they will be shown. im using the script below but its not working
<img dynsrc="http://www.thedmclan.co.uk/test.avi" width="502" height="152"> Similar TutorialsIn the past I embedded several (with makers permission) youtube clips into a html web page (with the file stored on my server). It worked fine. But now I am trying to imbed the higher quality youtube version (codec mp4a), again, with the file stored on my server, and the code I used previously doesn't work... Can anyone advise on what I need to do? What the correct code is etc. I have googled it, but am more confused than when I started! Thanks in advance :-) Hi, 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? Hi there in new here so please be nice haha ok i want a Mp3 file which is located in the same directory as my web page file to play in the background of my web page saved on my computer. i have tried loads of different codes, but to no success. I am using firefox browser 3.0.9 version. I created the html webpage using notepad. I have installed apple's quicktime as this website said so: http://kb.mozillazine.org/Background...doesn%27t_play Here is my code, please could somebody tell me where i am going wrong: Code: <html> <head> <title>My webpage!!!!!!!!!</title> </head> <body> <object data="music.mp3" type="application/x-mplayer2" width="0" height="0"> <param name="florida.mp3" value="music.mp3"> <param name="autostart" value="1"> <param name="playcount" value="true"> </object> </body> </html> Any help would be great many thanks and kind regards Jackie x Is it possible to reference a PDF file in a HTML page as one does with <img />? That is, when the page opens, the file will be displayed. Many thanks... Todd Hi, My problem is the following: i would integer in a page of my website the data from a xml page of another website. i try to integer this sport ranking in my site : http://www.lffs.org/Page/PA4G_Class.xml). The use of an iframe is a solution. but the style of this table isn't suitable. In other words, i try to extract the date of the table and insert it in another table to which i can apply a css-sheet. Is-it possible? Thanks in advance. Julien Most home pages are (I guess) index.html. If you type http://websitename into your browser, the browser automatically loads the index.html file. I use server side includes (SSI) for header and footer, and this, I understand, require the file extension to be shtml instead of html. My question is, if I want to use the SSI on the home page, and I rename it index.shtml, does this cause any problems? I know it works, but does it (a) slow things down while the browser searches for a index.html file first, or (b) cause any other difficulty? Thanks Can anyone help me with this please? Im really new to html and I wanna make a website. >.> Anyway I want to make the website in flash because im way better at flash and I won't have to learn as much. So what I wanna do is 1. make the website in flash (just attach the file/image or something) 2. When you click on a certain thing it will link to another page on the site and there I'll have a movie/game attached there. Thanks a lot in advance I am using <a href> classes in a css to change the colors of different types of links in my document. The default a:link is white. I defined another class a.bottomlink:link that is blue. If I use the bottomlink class with a link to a website that looks like this "http://website/subname/" I get a white link. If I use it with a link to a website that looks like "http://website/subname/pagename.asp" I get a blue link. I don't know the pagenames for all the websites I link to. Why is this happening? What can I do? Thanks. I have searched many pages on this forum for the answer to my question but cannot find it anywhere. I do not know if this can be done in html. I am fairly new to html pages but have been creating .php pages for awhile. I am trying to dynamically create a title for a page based on the url on an html page. I have an existing site that I would prefer to leave html and not change to .aspx or .php. An Example would be: w'ww.mysite.com/ResultsGeneral.html?kwds=Sweatshirts&color=Gray-Sweatshirts. (Not a real site but an example.) I would want to display Gray Sweatshirts for the <title>Gray Sweatshirts</title> head. I know how to do this with .php. I would use <title><?php echo urldecode($_GET["color"]); ?></title> I have also found out this can be accomplished in aspx by using <head id="Head1" runat="server"> <title><%= Request.QueryString("color").Replace("-"," ") %></title> I need to know if it is possible to accomplish this with .html. I am sure it is something simple like .php but I have tried several methods and looked at a lot of forums and cannot find the answer. I may not be wording the question correctly. Thanks in advance, Bob. Hi all, I have a .CGI web page written in PERL language. The CGI script loads the information from a database. So when i start the CGI page in my browser and it will only have a value in the whole page. As in when the whole page started in the browser will have only a few characters. Let say it retrieve Temperature recorded and which is stored in the database. So the whole page when loaded will only show 1 temperature. Which is "36.6" and will change when ever the database receive a newer data. In additional, i have a html page. There are tables in the page whereby show information. Like tables having temperature, id, sound and light columns. My Question is that Am i able to load the numbers/characters show on the CGI page directly into the table or any where in the HTML page? What i can think of is putting up a link to the CGI page on the HTML file and click it when i want to view it.But it would just be too troublesome. Lastly, thank you all for your time in reading and please pardon me for my bad English and weak HTML skills as I'm still learning. Thanks & best regards Joseph So I've got this .png file that's being updated and re-saved every second or so (its a graph of time vs temperature) and I'm trying to look at the damn thing on a browser. I've got the REFRESH thingy reloading the page every 5 seconds or so, but it'll only display the graph that it opens on (not the one that reflects the last couple of seconds). If I actually go and hit the reload button (I'm on Safari) the current graph'll come up, and then (this is weird) the next time the page refreshes it'll actually pull up that current graph, but all further refresh cycles don't do anything...what's going on here? Oh, here's the page source: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="refresh" content="5; URL=file:///Users/Shared/Sites/temperature/index.html" > <meta http-equiv="CACHE-CONTROL" content="NO-CACHE"> <link rel="stylesheet" type="text/css" href="http://steck.us/gen_style.css"> <title>Web Thermocouple 1 Monitor</title> </head> <body> <h3 align="center"> Reflow Toaster Temperature Vs. Generic Profile </h3> <table width="100%" border=1> <tr> <th width="100%">1 hour history</th> <tr> <td align="center"><img alt="graph" src="/Users/Shared/Sites/temperature/tempgraph1.png" height=480 width=640></td> </table> <p> Note: data measurements shown as point with 0.1°C resolution This page will automatically reload every 5 sec. </p> <p> Plots last updated: 08/10/09 14:37:47 Hello Everyone, Can someone guide me how can I open a word doc or text file from a html page. I already changed the following setting for doc files in my system: In Explorer - Click Tools --> Folder Options Click on File Types Goto any office extension (XLS, DOC, PPT,...) and uncheck Browse in Same Window. Here is my html file <html> <body> Hello <a href="c:\\myword.doc" target="_self">Link</a> </body> </html> The preferable way would be to govern it through coding, rather doing some manual settings in browser. Thanks. Hi all, how can i upload a file and when i click the submit button i go automatically to other web page. I am using some code that uploads the file perfectly, but i can't get a way to go to other page when i click the submit button. If someone can help me giving me an example of how to do that, or tell me what to change in my code i'll appreciate any kind of help. Here is my code: PHP Code: <?php function error($errorMsg) { ?> <script> alert("<?php echo $errorMsg;?>"); </script> <?php } global $folder; $folder = "uploaded"; if(!is_dir($folder)) if(!mkdir($folder)) { error("Can't, neither, access, nor create, the upload folder"); die(); } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style> body { background-color:#000000; } </style> <title>Upload</title> </head> <body> <center><h1><font color = "#FFFFFF" > Upload </font></h1></center> <?php function mainPage() { ?> <iframe style="display:none" name="fileUploader"></iframe> <form method="POST" target="fileUploader" enctype="multipart/form-data" action="?action=fileUploader"> <div><input name="file" type="file" STYLE="color:#FFFFFF; size="60"></div> <input type="submit" value="Upload" > </form> <?php } function fileUploader() { global $folder; function storeFile($folder,$tmpFileName,$fileName) { if(!is_uploaded_file($tmpFileName)) { error("Invalid file"); return; } if(!move_uploaded_file($tmpFileName, $folder . "/" . $fileName )) { error("Can't move uploaded file to destination"); return; } } foreach ($_FILES as $file) storeFile("uploaded",$file["tmp_name"],$file["name"]); } $actions = array("fileUploader" => 1,"fileLoader"=> 1); if (!isset($_GET['action'])) { //If not isset -> set with dumy value $_GET['action'] = "undefine"; } $action = $_GET["action"]; if($actions[$action]) $action(); else mainPage(); ?> </body> </html> If you want to include a template file how do you do that inside a html page? I want to include a footer.dwt file inside my html file...... I want to implement the footer.dwt file for all the pages of website....so i just want to call the footer.dwt file below my html page...... Help? Hi everyone. I am new to this forum and have very basic HTML knowledge. I've set up a page at http://www.freudiansliprecording.com/thelastsupper which, as it is coded now, automatically plays a goofy 5 second MP3 audio file when the page loads. What I would like to do is have the page randomly choose between 2 or three different of these very short MP3 audio clips and play one of them (and only one of them) when a visitor first comes to this page. Can anyone here recommend a way for me to do this? I do not want a visible player for this randomly chosen clip. Thank you all very, very much in advance for your help Cheers, Kevin Hello All, I am new to this, and not sure if this is the right forum. But, I have a simple web page with drop down menus where I can put values for a calculation. I would like to have the values saved as an input file for a python script that resides on the server. I would like the input file to be created and then the script executed and the output appear as a new page. I have googled this and have come up empty. Can someone point me in the right direction. Thanks, Bryan Hi All, Please Heeeeeeeeeeeeeeeeeeeeeeeeeeeellllllppp!!!!! Thanks in advanced!!! Have a few mistakes and / or something is missing below: Code: <html> <head>PLEASE FIND THE MISTAKE(S) or SOMETHING MISSING /</head> <script type="text/javascript"> window.onload=function() { document.getElementById('exampleletterList').onchange=function() { window.location=('http://www.example.org/'+this.value+''); } } </script> <body> <select id="exampleletterList"> <a target=\"_blank\" href=\"file.doc\" title=\"\">John Doe<br> XXXXXXXXXXX</br></a>. <option value=""><b> PLEASE SELECT THE FOLLOWING: <b/> </option><!--this option takes you to --> <body mar="0" marginheight="0" bgcolor="rgb(38,38,38)"> "BACKGROUND BLUE GREEN MARMOL " <embed width="100%" height="100%" name="plugin" src="http://www.example.pdf" type="application/pdf"> <br> <CENTER> <option value=index.htm>Option #1</option><!--this option takes you to --> <option value="example7">Option #2</option><!--this option takes you to --> <option value="example3">Option #3 </option><!--this option takes you to --> <option value="example4"><br>Option #4</br></option><!--this option takes you to --> <option value="example5">Option #5</option><!--this option takes you to --> <option value="example2">Option #6</option><!--this option takes you to --> <option value="blog/wp-login.php"><!--this option takes you to blog--> </select> </CENTER> </br> </body> <html xmlns:v="urn:schemas-microsoft-com:vml" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz </body> </head> </html> I want to load a local html file in an IFrame. The main page is loaded from a remote site (http://www.mysite.com). How can I do that if I don't have a web server installed on the local machine? Is there any workaround? Thank you! Hi Guys. My website contains a lot of text, and its continually printed by clients as it includes pricing etc. At the moment my pricing page is 4 pages of paper, however I wish to be a touch kinder to mother nature and be a bit more eco-friendly so I have created a document with all the pricing on one page which I have saved as a PDF file. I would like to add a link on my website to "Printer Friendly Version" which would link to the PDF and would bring up a print dialog box. What coding would I need to do this? I think it may very well be Java but I'm not the brightest when it comes to this Any help appreciated! I hope this all made sense! I have several websites that I maintain and update. A lot of them are just textual changes and I would think my customers can do these themselves by editing a simple .txt file. I was hoping my choices are avalable so that I can just insert this tag into my web pages and then give them login info to their edit page or show them how to upload the .txt file. I hope this is an easy one with several answers. Is it possible these tags could discipline your rankings in the search engines? Thanks, Jason |