Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Safari and Flash Video
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 1386042" data-attributes="member: 71075"><p>Yeah, as I noted, if you want true fullscreen, you need to stick to Flash for now. If you're okay with the video only taking up the width and height of the browser, you can stick to HTML5.</p><p></p><p>It sounds like you might be better off sticking with Flash. If you do, you can simplify that case statement by simply looking for mobile browsers. You could do something like the following: if mobile, load flash else load HTML5 (you like that terrible pseudocode?). And, to make things even simpler, I believe that the stock Android browser support H.264 so you may only have to make that version available (I don't know for sure so I'll have to get back to you about this).</p><p></p><p>You may also want to look into <a href="http://mootools.net/docs/core/Browser/Browser" target="_blank">MooTools</a> if you haven't already since they have functions that allow you to easily detect browser and OS. As an example:[code]if (Browser.Platform.ios){</p><p> alert("You're using iOS!");</p><p>}[/code]I don't know how you're getting browsers and OSes but if it's complex in the slightest, you might want to look at MooTools.</p></blockquote><p></p>
[QUOTE="vansmith, post: 1386042, member: 71075"] Yeah, as I noted, if you want true fullscreen, you need to stick to Flash for now. If you're okay with the video only taking up the width and height of the browser, you can stick to HTML5. It sounds like you might be better off sticking with Flash. If you do, you can simplify that case statement by simply looking for mobile browsers. You could do something like the following: if mobile, load flash else load HTML5 (you like that terrible pseudocode?). And, to make things even simpler, I believe that the stock Android browser support H.264 so you may only have to make that version available (I don't know for sure so I'll have to get back to you about this). You may also want to look into [URL="http://mootools.net/docs/core/Browser/Browser"]MooTools[/URL] if you haven't already since they have functions that allow you to easily detect browser and OS. As an example:[code]if (Browser.Platform.ios){ alert("You're using iOS!"); }[/code]I don't know how you're getting browsers and OSes but if it's complex in the slightest, you might want to look at MooTools. [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Safari and Flash Video
Top