最終更新:2020-09-10 (木) 14:21:36 (1286d)
URL.createObjectURL
Top / URL.createObjectURL
引数で渡されたオブジェクトを表す URL を含む DOMString を生成します
対応
メモ
- URL.createObjectURL(stream) が廃止予定となりました
- https://www.fxsitecompat.com/ja/docs/2017/url-createobjecturl-stream-has-been-deprecated/
// 非推奨 video.src = URL.createObjectURL(stream); // 推奨 video.srcObject = stream;
Google Chrome
- URL.createObjectURL with media streams is deprecated and will be removed in M68, around July 2018. Please use HTMLMediaElement.srcObject instead.