Omnimaga
Omnimaga => Site Feedback and Questions => Topic started by: Streetwalrus on June 04, 2014, 03:55:19 pm
-
It would be awesome if we could insert HTML 5 videos in posts. It'll be easier to upload Nspire screenies, and also to make screenies more compressed in general because a video is much better than a gif. Mediacru.sh supports videos and automagically converts gifs so we already have an upload service usable. ;)
Also, flash is crap.
-
I think we would be better off sticking to Youtube support. Also, security might become a problem. Youtube has an option for HTML5 now anyway, although I don't know if the embeeded player now supports it.
What would be nice, however, is if the Youtube tag supported more URL formats (such as ID only, full link and https)
-
How can a <video /> tag be insecure? I personally support the idea.
-
If some idiot uploads some HTML5-based script or virus on his own personal server then embed a link to it using [video], for example, and then everyone viewing his post (or signature) get infected. Of course, Flash has the same problem, but right now only Youtube is supported on Omni when it comes to Flash, so security is not a problem in this case.
If HTML5 videos are ever uploaded, it should probably be limited to trusted video sharing sources rather than allowing any server link.
-
A <video> tag won't run any scripts, just videos?
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video)
-
Oh ok I thought you meant a video bbcode or something allowing any HTML5 code that ressembles like a video player to run.
I remember Omni had support for Vimeo before, but it got removed due to exploits.
-
A <video> tag won't run any scripts, just videos?
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video)
Unless they are using video based exploit.
Youtube supports HTML5 so we could probably switch our embedding scheme to use that (I haven't really looked at how we embed youtube yet). For security reasons we will not be allowing people to embed videos from just any site. If you have a specific reputable site that you'd like us to enable embedding for please let us know with ourl.ca/request.
-
Does Youtube even have an HTML5 embeeded player at all anyway? IIRC they still live in middle-age when it comes to that. :P
-
Does Youtube even have an HTML5 embeeded player at all anyway? IIRC they still live in middle-age when it comes to that. :P
Not according to https://developers.google.com/youtube/iframe_api_reference
-
Switching the embedded Youtube to HTML5 is a great idea. I don't use flash, so I currently have to go through the page source and find the youtube link when people post videos.
EDIT: By the way, I have seen embedded Youtube HTML5 videos, so I'm pretty sure it's possible.
EDIT 2: http://apiblog.youtube.com/2010/07/new-way-to-embed-youtube-videos.html
-
Ok good to hear. THe only real issue with HTML5 Youtube is that whenever they perform maintenance on their site, if you click the back button in Opera 12 and land on a Youtube video, the browser freezes and sometimes it happens too when they don't do maintenance. Also I don't think every video supports HTML5 yet because some still shows the Flash player.
-
Ok good to hear. THe only real issue with HTML5 Youtube is that whenever they perform maintenance on their site, if you click the back button in Opera 12 and land on a Youtube video, the browser freezes and sometimes it happens too when they don't do maintenance. Also I don't think every video supports HTML5 yet because some still shows the Flash player.
Sounds like an opera problem.
They don't have support for html5 on monetized videos last I remember.
-
IIRC if the browser doesn't support html5 they default back to flash, too.
-
Apparently the way Omni embeds YouTube videos prevents it from using HTML 5 video mode.
I was also suggesting that as a GIF alternative since it's way more compressed and thus easier on bandwidth.
-
Apparently the way Omni embeds YouTube videos prevents it from using HTML 5 video mode.
I was also suggesting that as a GIF alternative since it's way more compressed and thus easier on bandwidth.
we are using an old API, thus me mentioning that we would have to update our embedding.
-
They don't have support for html5 on monetized videos last I remember.
They do, that was added a few months ago.
-
Apparently the way Omni embeds YouTube videos prevents it from using HTML 5 video mode.
I was also suggesting that as a GIF alternative since it's way more compressed and thus easier on bandwidth.
In some cases GIFs can be smaller, though. It depends what you made the GIF with and its content. If almost nothing moves every frame then it's gonna be small, but if it's like Supersonic Ball where literally every pixel change every frame, then it's 900 KB in 1 second.
-
Same story with most video codecs, with the exception that video encoders often put in keyframes every few seconds against file corruption and the like.