You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've pushed a fix up to master, and will do a mini-release shortly. Oops.
In terms of closing the source element - I know the HTML5 specification doesn't like it, but some of the old browsers need it to be there else they completely fail. I did a load of testing when I started the project, and the syntax I use for the video tags, however clunky, is the only one that worked across the board. I wish I'd made some notes about what failed under what circumstances, but I didn't. In this case, I think it was Opera that needed the closing source tag, but don't quote me on that.
The demo uses the following HTML:
(By the way, you shouldn’t close the
source
element.) Thecodecs
part is optional and can be omitted in HTML5:However, this causes html5media to break. The
getMimeType()
function relies on the semicolon (;
) being there in thetype
attribute.The text was updated successfully, but these errors were encountered: