appleple / modal-video

https://appleple.github.io/modal-video/
MIT License
268 stars 79 forks source link

URLの指定方法の追加#76 #77

Closed Yoshi0207 closed 3 years ago

Yoshi0207 commented 3 years ago

参照

https://github.com/appleple/modal-video/issues/76

内容

今までの仕様でも、data-video-url属性にurlを指定すればmp4の再生は行えたのですが、react-modal-videoと使い勝手が異なり、確かに分かりづらかった部分がありました。なので、react-modal-videoのように設定が行えるように修正しました。

mkasumi commented 3 years ago

ご対応ありがとうございます!

記述がなくても動いてるみたいですが、data-channel="custom" はtest/index.htmlに記述してなくてよかったでしょうか? 一度ご確認をお願いいたします。