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. Hey there everyone I was adding some links in my blog and now the color scheme is all messed up!It made a bunch of stuff white or blue when it should be black and grey.here is a link to my blog so you can see it press ctrl + A and you will see what im talking about.Spread The JamzHere is what I added or changed. <a href="http://spread-the-jamz.tumblr.com/" target="_blank"><img src="http://i1126.photobucket.com/albums/l612/ottoj/logo-1.gif" border="0" alt="Can you taste it?"></a> <a href="http://www.facebook.com/profile.php?id=1084933234" style="color:#25bdfc" title="FaceBook">FaceBook /</a><a href="http://www.youtube.com/user/TheRealJackOtto?feature=mhum" style="color:#25bdfc" title="YouTube">YouTube</a> <ul id="menu"> {block:Pages} <li><a href="{URL}">{Label}</a></li> {/block:Pages} {/block:HasPages} {block:SubmissionsEnabled} <li><a href="/submit">Submit</a></li> {/block:SubmissionsEnabled} {block:AskEnabled} <li><a href="/ask"><p>Question / Song Request</p></a></li> {/block:AskEnabled} </ul> Here is all the code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="shortcut icon" href="{Favicon}"/><link rel="alternate" type="application/rss+xml" href="{RSS}"/>{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description} <title>{Title}</title><!-- STYLE SHEETS -->{block:IndexPage}<link rel="stylesheet" type="text/css" href="http://static.tumblr.com/fbpqdir/oYmlgfovo/main.css"/>{/block:IndexPage}{block:PermalinkPage}<link rel="stylesheet" type="text/css" href="http://static.tumblr.com/fbpqdir/ZEplgfovb/single.css"/>{/block:PermalinkPage}<!-- DEFAULT COLORS --><meta name="color:MainText" content="#1d1d1d"/><meta name="color:Links" content="#25bdfc"/><meta name="color:Header" content="#25bdfc"/><meta name="color:QuoteBox" content="#25bdfc"/><meta name="color:QuoteText" content="#ffffff"/><meta name="color:ButtonText" content="#ffffff"/><meta name="color:ButtonHoverText" content="#676767"/><meta name="color:ButtonBackground" content="#25bdfc"/><meta name="color:ButtonHoverBackground" content="#E2E2E2"/><meta name="color:SubText" content="#1d1d1d"/><meta name="color:ParagraphText" content="#676767"/><meta name="color:VimeoControls" content="#25bdfc"/><meta name="color:SearchBox" content="#E2E2E2"/><meta name="color:Separator" content="#EAEAEA"/><!-- DEFAULT APPEARANCE --><meta name="if:Enable Twitter Module" content="1"/><meta name="if:Enable Author" content="1"/><meta name="if:Enable Note Count" content="1"/><meta name="if:Enable Tags" content="1"/><meta name="if:Enable Frontpage Media Text" content="1"/><!-- CUSTOM CSS --><style type="text/css"> /* Custom Color Styles */ p, .text p, .frontpost ul li, .photoset p, .photo p, .video p, .answer p, .link p, .action, .action a { color: {color:ParagraphText}; } a, .post-date p a, .post-date p span, .post-notes p span, .post-reblogged a, .audio-info p span { color: {color:Links}; } body, .module, #user p, #twitter p, #footer p, #search li a, #foot li a, .post-reblogged, .post-tags, .post-notes, .post-author, .post-meta p, .post-tags p, .post-notes p, .post-author p, .post-date p, .audio-info p { color: {color:MainText}; } h1, h2, h1 a, h2 a { color: {color:Header}; } #searchbox { background-color: {color:SearchBox}; } .quote-box, .answer-box, .bubble-point { background-color: {color:QuoteBox}; } .quote-con a, .quote-con a span.mark, .quote-con p, .answer-con a, .answer-con a span.mark, .answer-con p { color: {color:QuoteText}; } #previous a, #next a, #home a, #returnbutton a { color: {color:ButtonText}; background-color: {color:ButtonBackground}; } #previous a:hover, #next a:hover, #home a:hover, #returnbutton a:hover { color: {color:ButtonHoverText}; background-color: {color:ButtonHoverBackground}; } .quote-source a, ul.con li.user, .artist, .answer-source a { color:{color:SubText}; } .separator { background-color:{color:Separator}; } {CustomCSS} </style><!-- JAVASCRIPT FILES --><script language="javascript" type="text/javascript" src="http://static.tumblr.com/fbpqdir/43slfxpq8/jquery-1.4.3.min.js"></script><script language="javascript" type="text/javascript" src="http://static.tumblr.com/fbpqdir/OfOlfxpr3/jquery.masonry.min.js"></script><script language="javascript" type="text/javascript" src="http://static.tumblr.com/fbpqdir/Sdelfxpqi/jquery.cycle.lite.min.js"></script><script language="javascript" type="text/javascript" src="http://static.tumblr.com/fbpqdir/BGmlgn9o8/utils.js"></script></head><body><div id="container"> <div id="topbox" class="grid_10"> <div id="information" class="grid_10"> <div id="user" class="module grid_2"> <div id="description"> <p>{Description}</p> </div> </div>{block:IfEnableTwitterModule} {block:Twitter} <div id="twitter" class="module grid_2"> <div id="tweet"> <div id="twitter_update_list"> <p>Loading tweet...</p> </div> </div> <script type="text/javascript" src="http://static.tumblr.com/fbpqdir/H3Blfvs1f/tweets.js"></script> </div> {/block:Twitter} {/block:IfEnableTwitterModule} <div id="meta" class="module grid_2"> <div id="search"> <form action="/search" method="get"> <input id="searchbox" type="text" name="q" value="{SearchQuery}"/> <input id="searchbutton" type="submit" value=""/> </form> </div> <a href="http://spread-the-jamz.tumblr.com/" target="_blank"><img src="http://i1126.photobucket.com/albums/l612/ottoj/logo-1.gif" border="0" alt="Can you taste it?"></a> <a href="http://www.facebook.com/profile.php?id=1084933234" style="color:#25bdfc" title="FaceBook">FaceBook /</a><a href="http://www.youtube.com/user/TheRealJackOtto?feature=mhum" style="color:#25bdfc" title="YouTube">YouTube</a> <ul id="menu"> {block:Pages} <li><a href="{URL}">{Label}</a></li> {/block:Pages} {/block:HasPages} {block:SubmissionsEnabled} <li><a href="/submit">Submit</a></li> {/block:SubmissionsEnabled} {block:AskEnabled} <li><a href="/ask"><p>Question / Song Request</p></a></li> {/block:AskEnabled} </ul> </div> <div id="footer" class="module grid_2"> </div> <div id="nav" class="module grid_2"> {block:IndexPage} {block:Pagination} {block:PreviousPage}<div id="next"><a href="{PreviousPage}"> <span>Newer</span></a></div>{/block:PreviousPage} {block:NextPage}<div id="previous"><a href="{NextPage}"> <span>Older</span></a></div>{/block:NextPage} {/block:Pagination} {/block:IndexPage} {block:PermalinkPage} <div id="home"><a href="/"> <span>Home</span></a></div> {/block:PermalinkPage} {block:SearchPage} <div id="home"><a href="/"> <span>Home</span></a></div> {/block:SearchPage} </div> </div> </div> <div id="bottombox" class="grid_10"> <div id="preloader"> <img src="http://static.tumblr.com/fbpqdir/A0qlf59bv/loader.gif"width="16" height="16" alt="Loader"/> </div> {block:IndexPage} <div id="posts"> {block:Posts} {block:Text} <div id="post_{PostID}" class="text frontpost grid_2"> {block:Title} <h1><a href="{Permalink}">{Title}</a></h1> {/block:Title} {Body} {block:More} {/block:More} <div class="separator"></div> </div> {/block:Text} {block:Photo} <div id="post_{PostID}" class="photo frontpost grid_2"> <a href="{Permalink}"><img src="{PhotoURL-250}" width="auto" height="auto" alt="{PhotoAlt}"/></a> {block:IfEnableFrontpageMediaText} {block:Caption} <p class="front-content"> {Caption} </p> {/block:Caption} {block:More} {/block:More} {/block:IfEnableFrontpageMediaText} <div class="separator"></div> </div> {/block:Photo} {block:Photoset} <div id="post_{PostID}" class="photoset frontpost grid_2"> <div class="html_photoset"> <div class="slide"><a href="{Permalink}"></a></div> <span class="element" data-name="embed" data-value="{URLEncodedPhotoset-250}" data-unescape="1"></span> </div> <div class="remove" style="width:0px; height:0px; display:none;">{Photoset-250}</div> {block:IfEnableFrontpageMediaText} <div class="photoset-caption"> {block:Caption} {Caption} {/block:Caption} {block:More} {/block:More} </div> {/block:IfEnableFrontpageMediaText} <div class="separator"></div> </div> {/block:Photoset} {block:Video} <div id="post_{PostID}" class="video frontpost grid_4"> <div class="video-con"> {Video-500} <span class="vimeocolor" data-value="{color:VimeoControls}" ></span> </div> {block:IfEnableFrontpageMediaText} {block:Caption} {Caption} {/block:Caption} {block:More} {/block:More} {/block:IfEnableFrontpageMediaText} <div class="separator"></div> </div> {/block:Video} {block:Chat} <div id="post_{PostID}" class="chat frontpost grid_2"> {block:Title} <h1><a href="{Permalink}">{Title}</a></h1> {/block:Title} <ul class="con"> {block:Lines} {block:Label} <li class="user">— {Label}</li> {/block:Label} <li class="line">{Line}</li> {/block:Lines} </ul> {block:Caption} <p class="front-content"> {Caption} </p> {/block:Caption} {block:More} {/block:More} <div class="separator"></div> </div> {/block:Chat} {block:Link} <div id="post_{PostID}" class="link frontpost grid_2"> <h1><a href="{URL}" class="link" {Target}>{Name}</a></h1> {block:Description} {Description} {/block:Description} {block:More} {/block:More} <div class="separator"></div> </div> {/block:Link} {block:Quote} <div id="post_{PostID}" class="quote frontpost grid_2"> <div class="quote-box"> <div class="quote-con"> <a href="{Permalink}">{Quote}</a> </div> </div> <div class="bubble-point"><img src="http://static.tumblr.com/fbpqdir/Y4flf32z6/bubble_point2.png" width="181" height="26" alt="quote mask"/></div> {block:Source} <div class="quote-source"><a href="{Permalink}">— {Source}</a></div> {/block:Source} <div class="separator"></div> </div> {/block:Quote} {block:Answer} <div id="post_{PostID}" class="answer frontpost grid_2"> <div class="answer-box"> <div class="answer-con"> <a href="{Permalink}">{Question}</a> </div> </div> <div class="bubble-point"><img src="http://static.tumblr.com/fbpqdir/Y4flf32z6/bubble_point2.png" width="181" height="26" alt="answer mask"/></div> <div class="answer-source"><a href="{Permalink}">— {Asker}</a></div> {Answer} {block:More} {/block:More} <div class="separator"></div> </div> {/block:Answer} {block:Audio} <div id="post_{PostID}" class="audio frontpost grid_2"> <div class="album-art"> {block:AlbumArt}<img src="{AlbumArtURL}" alt="album art"/>{/block:AlbumArt} <div class="audioplayercircle"> <div class="audioplayer"> {AudioPlayerBlack} </div> </div> </div> {block:IfEnableFrontpageMediaText} {block:TrackName} <h1><a href="{Permalink}">{TrackName}</a></h1> {/block:TrackName} {block:Artist} <div class="artist">— {Artist}</div> {/block:Artist} {block:Caption} {Caption} {/block:Caption} {block:More} {/block:More} {/block:IfEnableFrontpageMediaText} <div class="separator"></div> </div> {/block:Audio} {/block:Posts} </div> <div id="returnbutton"><a href="{PreviousPage}"><span>Return</span></a></div> {/block:IndexPage} {block:PermalinkPage} <div id="post"> {block:Posts} {block:Text} <div id="post_{PostID}" class="text post grid_6"> {/block:Text} {block:Photo} <div id="post_{PostID}" class="photo post grid_6"> {/block:Photo} {block:Photoset} <div id="post_{PostID}" class="photoset post grid_6"> {/block:Photoset} {block:Video} <div id="post_{PostID}" class="video post grid_6"> {/block:Video} {block:Chat} <div id="post_{PostID}" class="chat post grid_6"> {/block:Chat} {block:Link} <div id="post_{PostID}" class="link post grid_6"> {/block:Link} {block:Quote} <div id="post_{PostID}" class="quote post grid_6"> {/block:Quote} {block:Answer} <div id="post_{PostID}" class="answer post grid_6"> {/block:Answer} {block:Audio} <div id="post_{PostID}" class="audio post grid_6"> {/block:Audio} <div class="post-meta grid_2"> {block:Date} <div class="post-date"> <p>Posted on</p> <p><span>{DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix} {Year}</span></p> </div> {block:IfEnableTags} {block:HasTags} <div class="post-tags"> <p>Tagged as:</p> <p>{block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}</p> </div> {/block:HasTags} {/block:IfEnableTags} {block:IfEnableNoteCount} {block:NoteCount} <div class="post-notes"> <p>This post has<p> <p><span>{NoteCountWithLabel}</span></p> </div> {/block:NoteCount} {/block:IfEnableNoteCount} {block:IfEnableAuthor} {block:GroupMembers} <div class="post-author"> {block:Text}<p>Posted by<p>{/block:Text} {block:Photo}<p>Posted by<p>{/block:Photo} {block:Photoset}<p>Posted by<p>{/block:Photoset} {block:Link}<p>Posted by<p>{/block:Link} {block:Quote}<p>Posted by<p>{/block:Quote} {block:Chat}<p>Posted by<p>{/block:Chat} {block:Video}<p>Posted by<p>{/block:Video} {block:Audio}<p>Posted by<p>{/block:Audio} {block:Answer}<p>Answered by<p>{/block:Answer} <p><a href="{PostAuthorURL}">{PostAuthorName}</a></p> </div> {/block:GroupMembers} {/block:IfEnableAuthor} {/block:Date} {block:RebloggedFrom} <div class="post-reblogged">Reblogged via <br/><a href="{ReblogParentURL}">{ReblogParentName}</a></div> {/block:RebloggedFrom} </div> <div class="post-content grid_4"> {block:Text} {block:Title} <h1>{Title}</h1> {/block:Title} {Body} {/block:Text} &nbs
  14. 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!
  15. I'll gladly help if it is needed looks like u guys got it tho. gl hope it turn out good.
  16. 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.
  17. OTTO

    Hey guys

    well its actually a statement.
  18. 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
  19. OTTO

    How much roughly?

    AWWW man you just made one less job for me.
  20. 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>
  21. OTTO

    How much roughly?

    Well how much are you offering?
  22. OTTO

    layout problems

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