Jump to content

OTTO

Members
  • Posts

    132
  • Joined

  • Last visited

Posts posted by OTTO

  1. So I work for a radio station and am trying to stream the station using icecast. I have 4 links to connect to the stream all different formats. Those being.mp3hi.m3u .mp3lo.m3u.aac.m3u.ogg,m3u I have been able to get the stream to work using windows media player in IE and Chrome. How can I give the listener to best link of the four formats and have it work for all major browsers?

  2. I found the web page with that code and it still doesn't work. My movie is mp4 so it should work. How does youtube embed videos? Is it with <embed>, <object> or < video>?
    I understand you tried the code but the sources of each video format needs to be there for them all to work otherwise it is the same thing you are doing now. So unless you converted the video to all three types I assume it is not working.
  3. I think the issue is the browser. You will need to re-encode your video in WebM or OGV formats as well as your existing mp4. ex.

    <video id="video" controls='controls'>  <source src="videos/clip.mp4" type="video/mp4"/>  <source src="videos/clip.webm" type="video/webm"/>  <source src="videos/clip.ogv" type="video/ogg"/>  Your browser doesn't seem to support the video tag.</video>

  4. Try this. In your head:

    <link href='URL of your fonts location' rel='stylesheet' type='text/css'>

    In CSS:

    h1 { font-family: 'myfont', arial, serif; }

  5. Like I said I think the issue lies with the permissions of the test file. From what I have read I need to change the permission to 666. However I am using windows and am just making the website locally and am not currently hosting it so I don't have an FTP. How do I give it the 666 permissions?

  6. Hey I am having trouble getting this code to work. The problem I think lies within the permissions of my txt file but I could be wrong. I am trying to write what ever data is input into the form into the text file and down below in the php. Thanks for the help!

    <body><form id="form1" name="form1" method="post" action=""><label>Please type in a message<input type="text" name="msg" id="msg" /></label><label>and your name<input type="text" name="name" id="name" /></label><p><label>Submit<input type="submit" name="submit" id="submit" value="Submit" /></label></p></form><?php	$msg = $_POST["msg"];	$name = $_POST["name"];	$posts = file_get_contents("posts.txt");	$posts = "$msg - $name\n" . $posts;	file_put_contents("posts.txt", $posts);	echo $posts;?></body>

  7. Hey everyone, So I am trying to develop a calendar that can be edited by anyone. I know this can be done with PHP, however I am very limited in the fact the website I am working on is modified through a GUI. I do not have access to the back end. I can however use HTML and upload some files. So I am curious if I design a Calendar using HTML would there be a way for me to update it with information users input via a form? Thanks in advance.

  8. Hello!I decided to come back to the forums because i am way out of the web design loop.I haven't practiced it since i don't remember when and i don't feel i am proficient in anything anymore.So if i attempt to answer question and make a complete chob of myself.Please don't flame me.I'm going to try regain a tiny bit of the knowledge i once retained.Anyways i hope at least someone remembers me!

  9. Hey guys sorry i havent been more active helping people on the forums i recently started playing world of warcraft agen and it has taken my life it so addicting and i usually check the forum at school but now they blocked it.anyways ill try and get on more

  10. what are you looking for, a forum, blog, informational web site...or all three?/me is sacrificing a job...google around for 'mambo CMS': a CMS (Content Management System) is a web program for making and managing a web site. It has multiple themes and layouts, and I think you can set up a blog with it. You don't have to know any (or at least very little) HTML or CSS, and it's *free* because it's open-source.Also, for blog-only web site try WordPress, and for a forum try PHPbb, both are free and open-source solutions. They're easy to install, configure, and use.:sigh: when more people figure out about mambo they'll be less jobs for us :)

    AWWW man you just made one less job for me.
  11. Ok im not sure but this may be what you are talking about. The common approach consists of two steps or of creating two resources. The first resource defines the form: All input fields are declared, each gets a unique name. This form invokes the second resource.This resource uses the session transformer to get the values provided by the user. The values are added by the browser to the parameters of the request. So using the request context and getxml, the values can be fetched.If you want to create a form with two values - forename and surname of the user, you could generate a base xml file with the information about this form:

    <page>  <form>    <action>form-handling-page</action>    <input name="forename" type="text"/>    <input name="surname" type="text"/>  </form></page>

    A stylesheet can transform this into valid html. The action tag indicates that the "form-handling-page" should be invoked by submitting the values.The "form-handling-page" is a pipeline which is declared in the sitemap and uses the session transformer. It could also read the following xml:

    <page xmlns:session="http://apache.org/cocoon/session/1.0">  <forename>    <session:getxml context="request" path="/parameter/forename"/>  </forename>  <surname>    <session:getxml context="request" path="/parameter/surname"/>  </surname></page>

    As the form values are appended to the request, getxml with specifying the path (which is the parameter name used for the input field) inserts the value submitted by the user into the xml stream.If you want to write the information in a session context, you must wrap the whole xml inside a setxml:

    <page xmlns:session="http://apache.org/cocoon/session/1.0">  <session:setxml context="userdata" path="/user">    <forename>      <session:getxml context="request" path="/parameter/forename"/>    </forename>    <surname>      <session:getxml context="request" path="/parameter/surname"/>    </surname>  </session:setxml></page>

    The user data is now stored inside the session context "userdata", so the context has the following content:

    <user>  <forename>Walter</forename>  <surname>Walterson</surname></user>

  12. Hello,I'm having a problem with layout in IE.  If you look at the website here, you'll see that at the bottom of the page I have four images going across the bottom of the webpage.  In IE, the last image is placed on a newline, but firefox and safari display it as it should be displayed (why does IE have to be so difficult!).  Does anyone know why that could be?  Any help would be greatly appreciated.Here is are the styles:
    body {	border-collapse: collapse;	font-family: verdana, arial, sans-serif;	font-size: 11px;	font-variant: small-caps;}img {	border: 0;	margin: 0;}#container {	width: 100%;	height: 700px;	text-align: center;}#centered {	width: 700px;	text-align: left;	margin: 10px auto 0 auto;}.banner {	height: 140px;	background-color: black;	margin: 0;}.navigation {	height: 20px;	width: 500px;	margin: 0;	background-color: green;	float: left;}.pageBody {	height: 360px;	width: 500px;	margin: 0;	background-color: white;	float: left;}.newsDevDiv {	width: 200px;	height: 380px;	margin: 0;	background-color: yellow;	float: right;}.footer {	width: 700px;	height: 125px;	margin: 0;	padding: 0;	background-color: black;	border-top: 1px solid white;	float: right;	text-align: center;}.footer p {	width: 100%;	margin: 0;	border-bottom: 1px solid red;}.footer img {	vertical-align: middle;}.footer a {	margin: 0;}.newsDiv {	width: 95%;	background-color: white;	margin: 1% auto 0 auto;	height: 175px;	overflow: auto;}.devDiv {	width: 95%;	background-color: white;	margin: 1% auto 0 auto;	height: 175px;	overflow: auto;}.divTitle {	margin: 0;	padding: 5px 0 5px 0;	width: 100%;	text-align: center;	vertical-align: middle;	background-color: rgb(81, 139, 168);	color: white;}/* Navigation */.navContainer {	width: 480px;	margin: 0 auto 0 auto;	background-color: transparent;	padding: 0;}.menulist li {	float: left;	position: relative;	width: 120px;	height: 18px;	font-size: 11px;	background-color: transparent;}.menulist {	margin: 0;	padding: 0;	list-style: none;}.menulist ul {	border-collapse: collapse;	display: none;	position: absolute;	top: 18px;	left: 0px;	width: 150px;	background-color: rgb(33, 69, 99);	padding: 0;	list-style: none;	margin: 0;	z-index: 1;}.menulist ul li {	float: none;	margin-right: 0;	position: relative;	text-align: left;}.menulist a {	display: block;	padding: 2px 0 2px 0;	background-color: rgb(33, 69, 99);	width: 118px;	color: white;	text-align: center;	text-decoration: none;	font-variant: small-caps;}a.submenuLink {	text-decoration: none;	background-color: transparent;	width: 142px;	padding: 0;	border: 1px solid rgb(81, 139, 168);	color: white;	font-variant: small-caps;	margin: 2px 2px 2px 2px;	padding-left: 2px;	text-align: left;}a.submenuLink:hover {	background-color: rgb(81, 139, 168);}

    Thanks,lugos

    this is the HTML/XHTML Forum anyways not the css.
×
×
  • Create New...