Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #16060
| From | j <mung_me@att.net> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | jQuery to javascript |
| Date | 2012-09-20 15:04 -0400 |
| Organization | albasani.net |
| Message-ID | <k3fpb1$qor$1@news.albasani.net> (permalink) |
I'm not a jQuery user.
I've been trying to use the mediaelement.js library for HTML5
audio/video elements which includes silverlight/flash fallbacks for
noncompliant browsers (IE < 10).
The docs are confusing and all I really can find are examples using
jQuery,like this:
$('video').mediaelementplayer({
success: function(media, node, player) {
var events = ['loadstart', 'play','pause', 'ended'];
for (var i=0, il=events.length; i<il; i++) {
var eventName = events[i];
media.addEventListener(events[i], function(e) {
$('#output').append( $('<div>' + e.type + '</div>') );
...
$('#output') must be document.getElementById('output')
I'm unsure of $('video'),an object?
And this: $('<div>' + e.type + '</div>') loses me completely.
So, I'd like to know one or more several things.
What does that jQuery mean? Is there audio/video player with IE fallback
support that is better? Where the hell is the API/method list for
mediaelement.js
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
jQuery to javascript j <mung_me@att.net> - 2012-09-20 15:04 -0400 Re: jQuery to javascript JJ <jaejunks_at@_googlemail_dot._com> - 2012-09-20 23:11 +0000 Re: jQuery to javascript David Mark <dmark.cinsoft@gmail.com> - 2012-09-20 17:51 -0700
csiph-web