HTMLMediaElement.src type has been changed

Published: | Categories: Audio & Video, DOM


Previously the value of the HTMLMediaElementsrc property was a media stream object. In the process of standardization, Mozilla has proposed that the src property represents a URL string of the media while the new srcObject property has the object. The Firefox implementation has been changed to reflect the proposal. For now, srcObject is prefixed mozSrcObject.