Dailymotion |
src/Plugin/video/Provider/Dailymotion.php |
Plugin annotation
@VideoEmbeddableProvider(
id = "dailymotion",
label = @Translation("Dailymotion"),
description = @Translation("Dailymotion Video Provider"),
regular_expressions = {
"@dailymotion\.com/video/(?<id>[^/_]+)_@i",
},
… |
Facebook |
src/Plugin/video/Provider/Facebook.php |
Plugin annotation
@VideoEmbeddableProvider(
id = "facebook",
label = @Translation("Facebook"),
description = @Translation("Facebook Video Provider"),
regular_expressions = {
"@^https?://www\.facebook\.com/.*(/videos/(?<id>\d+))@i",
… |
Instagram |
src/Plugin/video/Provider/Instagram.php |
Plugin annotation
@VideoEmbeddableProvider(
id = "instagram",
label = @Translation("Instagram"),
description = @Translation("Instagram Video Provider"),
regular_expressions = {
"@^.*?instagram\.com\/p\/(?<id>(.*?))[\/]?$@i",
},
… |
Vimeo |
src/Plugin/video/Provider/Vimeo.php |
Plugin annotation
@VideoEmbeddableProvider(
id = "vimeo",
label = @Translation("Vimeo"),
description = @Translation("Vimeo Video Provider"),
regular_expressions = {
"/^https?:\/\/(www\.)?vimeo.com\/(?<id>[0-9]*)/",
},
mimetype =… |
Vine |
src/Plugin/video/Provider/Vine.php |
Plugin annotation
@VideoEmbeddableProvider(
id = "vine",
label = @Translation("Vine"),
description = @Translation("Vine Video Provider"),
regular_expressions = {
"@(?<=vine.co/v/)(?<id>[0-9A-Za-z]+)@i",
},
mimetype =… |
YouTube |
src/Plugin/video/Provider/YouTube.php |
Plugin annotation
@VideoEmbeddableProvider(
id = "youtube",
label = @Translation("YouTube"),
description = @Translation("YouTube Video Provider"),
regular_expressions = {
… |