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 b06f420 commit 8ca9f65Copy full SHA for 8ca9f65
lib/jekyll-spaceship/processors/media-processor.rb
@@ -90,8 +90,8 @@ def handle_vimeo(element)
90
def handle_dailymotion(element)
91
handle_media(element, {
92
media_type: 'iframe',
93
- host: '(https?:)?\\/\\/.*dai.?ly.*',
94
- id: '(?<=video\\/|\\/)([a-zA-Z0-9\\_\\-]+)',
+ host: '(https?:)?\\/\\/(?>www\\.)?dai\\.?ly(?>motion\\.com\\/video)?\\/',
+ id: '([a-zA-Z0-9\\_\\-]+)',
95
base_url: "https://www.dailymotion.com/embed/video/"
96
})
97
end
0 commit comments