Skip to content

Commit

Permalink
make youku provider support mobile version url
Browse files Browse the repository at this point in the history
  • Loading branch information
junhanlin committed Mar 17, 2017
1 parent b3cb319 commit 578ae2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/provider/Youku.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function Youku() {

Youku.prototype.parseUrl = function (url) {
var match = url.match(
/(?:(?:embed|sid)\/|v_show\/id_|VideoIDS=)([a-zA-Z0-9]+)/
/(?:(?:embed|sid)\/|(?:v_show|video)\/id_|VideoIDS=)([a-zA-Z0-9]+)/
);
return match ? match[1] : undefined;
};
Expand Down

0 comments on commit 578ae2f

Please sign in to comment.