Commit d78b6397 authored by Ahoy's avatar Ahoy

newvideo

parent b990d127
Pipeline #18070634 failed with stages
in 1 minute
......@@ -187,6 +187,9 @@
<span class="attr-name">data-player=&quot;</span><span class="attr-value">iframe</span><span class="attr-name">&quot;</span>
<span class="comment"> - плеер iframe.video</span>
<br>
<span class="attr-name">data-player=&quot;</span><span class="attr-value">newvideo</span><span class="attr-name">&quot;</span>
<span class="comment"> - плеер newvideo.tv</span>
<br>
<span class="attr-name">data-player=&quot;</span><span class="attr-value">kodik</span><span class="attr-name">&quot;</span>
<span class="comment"> - плеер kodik.cc</span>
<br>
......@@ -260,6 +263,9 @@
<span class="attr-name">data-youtube=&quot;</span><span class="attr-value">94a08da1fecbb6e8b46</span><span class="attr-name">&quot;</span>
<span class="comment"> - Ваш токен YouTube API</span>
<br>
<span class="attr-name">data-newvideo=&quot;</span><span class="attr-value">94a08da1fecbb6e8b46</span><span class="attr-name">&quot;</span>
<span class="comment"> - Ваш API-ключ newvideo.tv</span>
<br>
</div>
<div class="code">
<span class="comment">
......
......@@ -44,7 +44,7 @@ function yo(sel) {
options.player = (options.title && options.title.indexOf('трейлер')+1 || t)
? 'trailer'
: (!options.player)
? 'moonwalk,hdgo,iframe,kodik,allserials,trailer,torrent'
? 'moonwalk,hdgo,iframe,newvideo,kodik,allserials,trailer,torrent'
: options.player;
var bg = (options.bg && options.bg.replace(/[^0-9a-z]/ig, ''))
......@@ -54,7 +54,7 @@ function yo(sel) {
var btns = {};
options.button = (options.button)
? options.button
: 'moonwalk: {Q} {T}, hdgo: {Q} {T}, iframe: {Q} {T}';
: 'moonwalk: {Q} {T}, hdgo: {Q} {T}, iframe: {Q} {T}, newvideo: {Q} {T}';
if (options.button) {
options.button.split(',').forEach(function (button) {
var btn = button.split(':');
......
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