youtube-video-element
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "youtube-video-element", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Custom element (web component) for the YouTube player.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -8,3 +8,3 @@ // https://developers.google.com/youtube/iframe_api_reference | ||
const MATCH_SRC = | ||
/(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})/; | ||
/(?:youtu\.be\/|youtube\.com\/(?:shorts\/|embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})/; | ||
@@ -11,0 +11,0 @@ const templateShadowDOM = document.createElement('template'); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17184
0