Commit ae29f4e6 authored by Ahoy's avatar Ahoy

start_episode

parent ae4301aa
Pipeline #12974419 passed with stages
in 1 minute
......@@ -159,8 +159,8 @@ function yo(sel) {
var key = keys[i].toLowerCase().trim();
if (players.hasOwnProperty(key) && players[key]) {
if (key === 'moonwalk') {
if (options.iframe_url) {
var reg = options.iframe_url.match(/^([a-z0-9]*?)\|([0-9]*?)\|([0-9]*?)$/i);
if (options.start_episode) {
var reg = options.start_episode.match(/^([a-z0-9]*?)\|([0-9]*?)\|([0-9]*?)$/i);
if (reg && reg.length === 4) {
players[key] = players[key].replace(/serial\/([a-z0-9]*?)\//i, 'serial/' + reg[1] + '/');
players[key] = (players[key].indexOf('?')+1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment