VideojsPlayer for Dailymotion in AutoPlayer
authorymh <ymh.work@gmail.com>
Tue, 22 Oct 2024 07:19:03 +0200
changeset 1078 c28fb800e252
parent 1077 48cdc013fc07
child 1079 d4f0681c4ff1
VideojsPlayer for Dailymotion in AutoPlayer
src/widgets/AutoPlayer.js
--- a/src/widgets/AutoPlayer.js	Tue Oct 22 07:06:10 2024 +0200
+++ b/src/widgets/AutoPlayer.js	Tue Oct 22 07:19:03 2024 +0200
@@ -24,6 +24,7 @@
           "height",
           "width",
           "url_transform",
+          "dailymotionPlayerId"
         ],
         _opts = {},
         _types = [
@@ -45,7 +46,7 @@
           },
           {
             regexp: /^(https?:\/\/)?(www\.)?dailymotion\.com/,
-            type: "DailymotionPlayer",
+            type: "VideojsPlayer",
           },
         ]