Search the Community
Showing results for tags 'html5'.
-
Hi, Through a proxy server, all videos are blocked by denying all mime types starting with video/. I have found that I can rename a video to .docx and then when I download it I can change the extension again, allowing me to watch the video. I would like to have it play in an HTML5 video player instead of having to download it. I have used the following code to do this: <video width='320' height='240' controls> <source src='video.docx' type='video/mp4'> Your browser does not support the video tag. </video> Which works fine on Safari on my computer, however when I try to play it (same file) on iOS I get a broken play icon. Note that when I use a video file with the correct mime type and extension (server side) I can get it to play on iOS. Since I cannot change the mime type back to a video (blocked) how can I get it to play on iOS? I am jailbroken and using iFile I can download the file manually and rename it, which will allow it to play, but it is much faster to just have it play in the browser window. Thanks!
-
Cool demo of what you can do with HTML5 http://www.benjoffe.com/code/demos/canvascape/textures
-
For those who like to make their own site, here is a nice site to help you on the way: http://www.initializr.com/ This site offers you 3 projects, ready to use on any browsers, include mobile browsers. And even one project is loaded with cool features. It also comes with ready to use webconfig files (.httaccess or web.config), a style sheet (CSS or LESS), a 404-page, Chrome framework and Analytics, and much more. With others words, a complete site, ready to use. The first project is called "Classic H5BP". Best way to describe this project is an empty shell. It only has all the the basic CSS and HTML5 code for going on normal and mobile browsers. It just has a basic structure for site. It hasn't got any feature, except it includes the jQeury library. The second is called "Responsive". This is basically the same as the Classic, but is has default template with some text. Also, no additional features except for the jQeury library. The last one is Bootstrap. Bootstrap is loaded with jQeury and CSS features such as an carousel for images, tooltips, collapsing menus, dropdown menus and much more. But the main thing is that it comes with a very detailed documentation. All the features are explained and you get the source code to use them. This is really a pre-made site with a complete layout, where you just need to change the text and your good to go. Edit: if you want a different style for Bootstrap, visit this site: http://bootswatch.com/ Here you can download the CSS files for a different style, without having anything to change to the html code Have fun with it.
- 1 reply
-
- html5
- mobile site
-
(and 1 more)
Tagged with: