Adds missing text and fixes js errors
This commit is contained in:
parent
87a8fd3a36
commit
9c4158fea5
|
@ -346,6 +346,7 @@ $config['enable_embedding'] = true;
|
||||||
|
|
||||||
$config['youtube_js_html'] = '<div class="video-container" data-video="$2">'.
|
$config['youtube_js_html'] = '<div class="video-container" data-video="$2">'.
|
||||||
'<a href="https://youtu.be/$2" target="_blank" class="file">'.
|
'<a href="https://youtu.be/$2" target="_blank" class="file">'.
|
||||||
|
'https://youtu.be/$2'.
|
||||||
'</a></div>';
|
'</a></div>';
|
||||||
|
|
||||||
$config['embedding'] = array();
|
$config['embedding'] = array();
|
||||||
|
|
|
@ -40,7 +40,7 @@ onready(function(){
|
||||||
span.text(OFF);
|
span.text(OFF);
|
||||||
} else{
|
} else{
|
||||||
videoNode.append(embedNode);
|
videoNode.append(embedNode);
|
||||||
span.innerHTML = ON;
|
span.text(ON);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue