I am trying to animate the flash fallback in mediaeelementplayer on mouseenter/mouseover. I set the video size like this:
$('video').mediaelementplayer({
plugins: ['flash', 'silverlight'],
features: ['playpause', 'progress'],
autoplay: true,
success: function (mediaElement, domObject, player) {
if (mediaElement.pluginType == 'flash') {
mediaElement.addEventListener('canplay', function() {
mediaElement.play();
mediaElement.setVideoSize(200, 115);
player.setMuted(true);
}, false);
}
And I want it to animate to a width of 500 and a height of 250. I am not sure how to animate. Its only a problem in IE7/8 because those are the only browsers that dont support my HTML5 video but they animate and I need it to look the same as Chrome, Firefox, Safari, etc...Is there an EventLsitener I can use for that?