- if ( this.isCompatibleSrc() ) {
- this.playCurrentSrc();
- }
- },
-
- isCompatibleSrc: function () {
- var testNode;
-
- if ( this.compatMode ) {
- testNode = $( '<span><source type="' + this.current.get( 'type' ) + '" /></span>' );
-
- if ( ! wp.media.mixin.isCompatible( testNode ) ) {
- this.playerNode.removeAttr( 'src' );
- this.playerNode.removeAttr( 'poster' );
- return;
- }
- }
-
- return true;