Jump to content

OTTO

Members
  • Posts

    132
  • Joined

  • Last visited

Everything 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. Follow my instructions, in order to make it cross browser compatible. MP4 is not supported in firefox.
  3. 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.
  4. This will take server side scripting. However you don't need to code them yourself there are numerous free php scripts here.http://www.thefreecountry.com/php/site-search-engine-scripts.shtml
  5. 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>
  6. OTTO

    FONT

    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; }
  7. It is possible but it will take a little more work than the text box. You will have to do this through Javascript.
  8. Here try this. <video id="testMovie" width="800" height="600" controls preload autoplay><source src="spacetest.mp4" type="video/mp4"></video>
  9. 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?
  10. That doesn't appear to be working for me either. I open the 'post.txt' and it is blank, and nothing is printed onto the screen.
  11. 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>
  12. 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.
  13. 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!
  14. I'll gladly help if it is needed looks like u guys got it tho. gl hope it turn out good.
  15. You do the same exact thing you would do if it were online just get the directory thats on your computer as if it were the host wich in this case it is simply by right clicking and going to properties.
  16. OTTO

    Hey guys

    well its actually a statement.
  17. OTTO

    Hey guys

    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
  18. OTTO

    How much roughly?

    AWWW man you just made one less job for me.
  19. OTTO

    Action Tag

    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>
  20. OTTO

    How much roughly?

    Well how much are you offering?
  21. OTTO

    layout problems

    this is the HTML/XHTML Forum anyways not the css.
  22. Yes it will save as a zip but a zip file will be more compressed.
  23. We need to see it other wise its like shooting in the dark.
×
×
  • Create New...