Hey! I’m trying to play webm video on html5. For some reason, the video is mirrored vertically in Firefox. Has anyone seen something like this before?
The onMetaData seems fine: {“width”:320,“height”:180,“duration”:28.884}
I thought it might have been an issue with some rotation metadata in the WebM but its mirrored and not rotated.
conn = new NetConnection();
conn.connect(null);
video_lesson = new Video();
stream = new NetStream(conn);
var clientObj:Dynamic = {
'onMetaData': this.playstatusEvent,
'onImageData': this.playstatusEvent,
'onPlayStatus': this.playstatusEvent,
'onCuePoint': this.playstatusEvent
};
stream.client = clientObj;
stream.play("small.webm");
video_lesson.attachNetStream(stream);
video_container.addChild(video_lesson);
Through OpenFL
Firefox:
Chrome:
With html video tags
Firefox:
Chrome: