Commit 0ae8ca5f authored by Ahoy's avatar Ahoy

Custom

parent a96f3daa
Pipeline #34486136 passed with stages
in 33 seconds
......@@ -151,6 +151,28 @@
<span class="attr-name">src=&quot;</span><span class="attr-value">//yohoho.cc/yo.js</span><span class="attr-name">&quot;</span><span class="tag">&gt;&lt;/script&gt;</span>
<div class="example" data-ahoy="yohoho-vodlocker">Показать</div>
</div>
<div class="code">
<span class="comment">
&lt;!-- Вставляете в место, где должны быть Ваши плееры --&gt;
</span>
<br>
<span class="tag">&lt;div</span>
<span> </span>
<span class="attr-name">id=&quot;</span><span class="attr-value">yohoho</span><span class="attr-name">&quot;</span>
<br>&nbsp;&nbsp;&nbsp;&nbsp;
<span class="attr-name">data-kinopoisk=&quot;</span><span class="attr-value">1009145</span><span class="attr-name">&quot;</span>
<br>&nbsp;&nbsp;&nbsp;&nbsp;
<span class="attr-name">data-title=&quot;</span><span class="attr-value">Открытый микрофон</span><span class="attr-name">&quot;</span>
<br>&nbsp;&nbsp;&nbsp;&nbsp;
<span class="attr-name">data-player=&quot;</span><span class="attr-value">3 сезон 10 выпуск //rutube.ru/play/embed/11494272, 3 сезон 9 выпуск //rutube.ru/play/embed/11440612</span><span class="attr-name">&quot;</span><span class="tag">&gt;</span>
<br>
<span class="tag">&lt;/div&gt;</span>
<br>
<span class="tag">&lt;script</span>
<span> </span>
<span class="attr-name">src=&quot;</span><span class="attr-value">//yohoho.cc/yo.js</span><span class="attr-name">&quot;</span><span class="tag">&gt;&lt;/script&gt;</span>
<div class="example" data-ahoy="yohoho-custom">Показать</div>
</div>
<div class="code">
<span class="comment">
Параметр <span class="attr-name">data-title</span> (поиск торрентов, трейлера и плееров)
......@@ -437,6 +459,7 @@
<div id="yohoho-trailer" data-player="trailer" data-title="Пила 8"></div>
<div id="yohoho-torrent" data-player="torrent" data-title="Инферно"></div>
<div id="yohoho-vodlocker" data-player="vodlocker" data-language="en" data-title="Avatar"></div>
<div id="yohoho-custom" data-player="3 сезон 10 выпуск //rutube.ru/play/embed/11494272, 3 сезон 9 выпуск //rutube.ru/play/embed/11440612"></div>
</div>
<script src="yo.js"></script>
......
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