HTML - Bandwidth Limiting
Hi everyone, I'm new one and I need same help. And sorry for my English.
I'd like to make html site with QuickTime to limit download. I simple html look like that: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-2"> <title>quicktime</title> </head> <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" alink="#FF0000" vlink="#000080"> <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320" HEIGHT="256" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab";> <PARAM name="SRC" VALUE="MyMovie.mov"> <PARAM name="CONTROLLER" VALUE="TRUE"> <PARAM name="AUTOPLAY" VALUE="TRUE"> <PARAM name="CACHE" VALUE="FALSE"> <PARAM name="QTSRC" VALUE="http://IP:8080/film.mov"> <PARAM name="QTSRCDONTUSEBROWSER" VALUE="TRUE"> <PARAM name="QTSRCCHOKESPEED" VALUE="movierate"> <EMBED src="MyMovie.mov" WIDTH="320" HEIGHT="256" CONTROLLER="TRUE" AUTOPLAY="TRUE" CACHE="FALSE" QTSRC="http://IP:8080/film.mov" QTSRCDONTUSEBROWSER="TRUE" QTSRCCHOKESPEED="movierate" TYPE="video/quicktime" PLUGINSPAGE="http://www.apple.com/quicktime/download/";> </EMBED> </OBJECT> </body> </html> And it works, but I want to do this not with .mov files but with .wav files. I'm trying to change that script but it's not working well. Thanks and regards. Kamil. Similar TutorialsHi all, im working on a project that requires me to show live feed from an ip camera. I have already created an iframe, now the problem is i want to limit some stuff from the users. Is there a solution to this? please help! i'll attach an image to this post. Thanks alot. * the area highlighted in red is what i want to remove. I am trying to create menu based website for cars, how to I limit a menu to include only the models for a certain make. If ford is selected I want to be able to select mustang, taurus and f150, but not accord, because accord is made by honda. I am using Make: <select name="Make"> <option value="0">Acura</option> <option value="1">Audi</option> <option value="3">Bently</option> <option value="4">Ford</option> </select> format to create my menus, any reference to a page explaining how this would be helpful as well as defining (proper terminology) what I am trying to do. TIA, James Greetings, I am trying to prevent the my window from scrolling from side to side and up&down. You can see in my image that the frame has excess information to the right of the screen. I cannot tell if this is b/c of the images or if the problem is in the code. Here is the current code for the page. <!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"> <title>The works of D.M. Rosemark</title> <style type="text/css" media="screen"> <!-- body { background-color: #ffffff; margin: 0px } #horizon { color: white; background-color: transparent; text-align: center; position: absolute; top: 50%; left: 0px; width: 100%; height: 1px; overflow: visible; visibility: visible; display: block } #wrap {margin: 0px auto; width: 1273px; } iframe.one { width: 600px; height: 375px; border-style:ridge; border-width:10px; border-color:#999999; padding:1px; float: left; display: inline; //--> </style> </head> <body> <div id="wrap"> <img src="topbanner.jpg" alt="Top Banner" style="width: 1260px;"><div id="innerwrap"> <img src="leftimage.jpg" style="float: left; width: 325px;"> <iframe class="one" frameborder="0" src="01.html" scrolling="yes"> </iframe> <img src="rightimage.jpg" style="float: left; display: inline; width: 325px; "></div> <img src="bottombanner.jpg" alt="Bottom Banner" style="width: 1260px;"></div> </body> </html> Thanks in advance!! D.M. Rosemark Ok I know this isn't really a HTML issue, but to avoid complex clientside pixel-counting of fonts I've thought of something far more simple. I need to limit the length of a string to stop it wrapping. The first step is to limit the string's length in characters, using the following php script: PHP Code: function trim_string($string) { $trim_string = '...'; $chars = 55; $chars_adjusted = $chars - strlen($trim_string); if (strlen($string) > $chars) { $string = substr($string,0,$chars_adjusted); $string .= $trim_string; } return $string; } Fine, no problem. Now however the strings are not all of equal length because of differences in length of each character (see the warmdebate.com homepage for my debacle). I thought that a relatively simple solution would be to simple use some sort of CSS or HTML wizardry to stretch the trimmed string to a fixed length (like full alignment, only for a non-wrapped string). Since this doesn't involve pixel counting or anything like that I figure it should be doable in CSS or HTML. Also, if there are any standard solutions to this other than what I'm proposing please let me know! |