We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fededdd commit c05bd9dCopy full SHA for c05bd9d
1 file changed
src/players/YouTube.js
@@ -4,7 +4,7 @@ import loadScript from 'load-script'
4
import Base from './Base'
5
import { parseStartTime } from '../utils'
6
7
-const SDK_URL = '//www.youtube.com/iframe_api'
+const SDK_URL = 'https://www.youtube.com/iframe_api'
8
const SDK_GLOBAL = 'YT'
9
const SDK_GLOBAL_READY = 'onYouTubeIframeAPIReady'
10
const MATCH_URL = /^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/
0 commit comments