Skip to content
Snippets Groups Projects
Commit 685f7ea1 authored by srosse's avatar srosse
Browse files

OO-697: allow http://vimeo.com/

parent 8979371d
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ var BPlayer = {
} else if(extension == 'm4a') {
mimeType = "audio/m4a";
config.provider = "sound";
} else if(config.file.indexOf('www.vimeo.com') > -1) {
} else if(config.file.indexOf('vimeo.com') > -1) {
mimeType = "video/vimeo";
} else if(config.file.indexOf('youtube.com') > -1 || config.file.indexOf('youtube.be')) {
mimeType = "video/youtube";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment