mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-28 19:23:11 +01:00
Update content of files
This commit is contained in:
parent
85fcbbaec8
commit
9d0cf9f05c
7 changed files with 29 additions and 23 deletions
|
@ -47,7 +47,7 @@
|
|||
<p>Sponsored messages on Telegram are displayed in <strong>large public one-to-many channels</strong> with <strong>1000+</strong> subscribers and are limited to <strong>160 characters</strong>. Sponsored Messages are based solely on the <strong>topic</strong> of the public channels in which they are shown.</p>
|
||||
<p>This means that <strong>no user data</strong> is mined or analyzed to display ads, and every user viewing a particular channel on Telegram sees <strong>the same sponsored messages</strong>.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001900/2/btuJiD_Plu8.202414/7e06161d5568f0720f" style="max-width: 400px;" title="Sponsored Messages on Telegram" alt="Sponsored Messages on Telegram">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001900/2/btuJiD_Plu8.202414/7e06161d5568f0720f" style="max-width: 400px;" title="Sponsored Messages on Telegram" alt="Sponsored Messages on Telegram">
|
||||
<source src="/file/464001301/3/Re8p47eQMuY.4017265.mp4/4ee8f9f931d15f312a" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -102,14 +102,15 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?54"></script>
|
||||
<script src="/js/widget-frame.js?50"></script>
|
||||
<script src="/js/widget-frame.js?51"></script>
|
||||
<script src="/js/promote.js?38"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":480,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":481,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
Aj.onLoad(function(state) {
|
||||
function requestConfirmation(event) {
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<p>Sponsored messages on Telegram are displayed in <strong>large public one-to-many channels</strong> with <strong>1000+</strong> subscribers and are limited to <strong>160 characters</strong>. Sponsored Messages are based solely on the <strong>topic</strong> of the public channels in which they are shown.</p>
|
||||
<p>This means that <strong>no user data</strong> is mined or analyzed to display ads, and every user viewing a particular channel on Telegram sees <strong>the same sponsored messages</strong>.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001900/2/btuJiD_Plu8.202414/7e06161d5568f0720f" style="max-width: 400px;" title="Sponsored Messages on Telegram" alt="Sponsored Messages on Telegram">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001900/2/btuJiD_Plu8.202414/7e06161d5568f0720f" style="max-width: 400px;" title="Sponsored Messages on Telegram" alt="Sponsored Messages on Telegram">
|
||||
<source src="/file/464001301/3/Re8p47eQMuY.4017265.mp4/4ee8f9f931d15f312a" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -102,15 +102,16 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?54"></script>
|
||||
<script src="/js/widget-frame.js?50"></script>
|
||||
<script src="/js/widget-frame.js?51"></script>
|
||||
<script src="/js/promote.js?38"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":480,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":481,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
openPopup('#login-popup-container');
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
Aj.onLoad(function(state) {
|
||||
function requestConfirmation(event) {
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<p>Sponsored messages on Telegram are displayed in <strong>large public one-to-many channels</strong> with <strong>1000+</strong> subscribers and are limited to <strong>160 characters</strong>. Sponsored Messages are based solely on the <strong>topic</strong> of the public channels in which they are shown.</p>
|
||||
<p>This means that <strong>no user data</strong> is mined or analyzed to display ads, and every user viewing a particular channel on Telegram sees <strong>the same sponsored messages</strong>.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001900/2/btuJiD_Plu8.202414/7e06161d5568f0720f" style="max-width: 400px;" title="Sponsored Messages on Telegram" alt="Sponsored Messages on Telegram">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001900/2/btuJiD_Plu8.202414/7e06161d5568f0720f" style="max-width: 400px;" title="Sponsored Messages on Telegram" alt="Sponsored Messages on Telegram">
|
||||
<source src="/file/464001301/3/Re8p47eQMuY.4017265.mp4/4ee8f9f931d15f312a" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -102,14 +102,15 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?54"></script>
|
||||
<script src="/js/widget-frame.js?50"></script>
|
||||
<script src="/js/widget-frame.js?51"></script>
|
||||
<script src="/js/promote.js?38"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":480,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":481,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
Aj.onLoad(function(state) {
|
||||
function requestConfirmation(event) {
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<h3><a class="anchor" name="logging-in" href="#logging-in"><i class="anchor-icon"></i></a>Logging In</h3>
|
||||
<p>To start creating ads on the platform, you must first log in. This requires that you have an existing <strong>Telegram account</strong> – if you do not yet have an account, download one of our <a href="https://telegram.org/apps#mobile-apps">mobile apps</a> for Android or iOS and sign up. Once you have an account, enter the account’s phone number on the <a href="https://promote.telegram.org">login page</a>, after which you instantly receive a message in Telegram (from our verified service account) to confirm your login to the platform.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001752/5/i1xdJ8f8mnU.20630/b6e5546fc528644422" style="max-width: 400px;" title="Logging in on the Ad Platform" alt="Logging in on the Ad Platform">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001752/5/i1xdJ8f8mnU.20630/b6e5546fc528644422" style="max-width: 400px;" title="Logging in on the Ad Platform" alt="Logging in on the Ad Platform">
|
||||
<source src="/file/464001892/5/HjA2HtrFV_E.1259977.mp4/6c40b64060ceb8ce7c" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -60,7 +60,7 @@
|
|||
<p>Only the <strong>owner</strong> of the Group or Channel is allowed to create an organization for that chat.</p>
|
||||
</blockquote>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001357/5/G-IXEFj-45s.22436/3feb0daf2059fd4e29" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001357/5/G-IXEFj-45s.22436/3feb0daf2059fd4e29" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<source src="/file/464001670/1/UkwLGNCIXYQ.1658109.mp4/35610d63468be65656" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -70,7 +70,7 @@
|
|||
<p>Click ‘Create a new ad’ to start building your advertisement. There you will see a template with several fields to fill in – such as giving your ad a <strong>Title</strong>, <strong>Text</strong>, and <strong>URL</strong>. </p>
|
||||
<p>All links included in the Text and URL field must link to a <strong>channel or bot on Telegram</strong>, using the format t.me/link or @link. Links to external sites are not allowed.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001209/5/yKXvZhl9-wA.39435/55386733a3bf8728cd" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001209/5/yKXvZhl9-wA.39435/55386733a3bf8728cd" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<source src="/file/464001348/1/jwqtlqL7bds.1499672.mp4/bf2a12f2217d90e3c8" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -94,7 +94,7 @@
|
|||
<h3><a class="anchor" name="copying-ads" href="#copying-ads"><i class="anchor-icon"></i></a>Copying Ads</h3>
|
||||
<p>When you open any of your existing ads, you can use the <strong>'Create similar ad'</strong> link next to its name to create a <strong>new ad</strong> with the same text and parameters. This can be handy if you want to create several ads with slightly different targeting parameters, change targeting parameters in an ad you created, or lower the budget of an ad.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001762/3/jNbQultn85U.52861/c178021965158d2ba8" style="max-width: 400px;" title="Create a similar ad" alt="Create a similar ad">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001762/3/jNbQultn85U.52861/c178021965158d2ba8" style="max-width: 400px;" title="Create a similar ad" alt="Create a similar ad">
|
||||
<source src="/file/464001795/2/VVZ7AfaIsVg.1321782.mp4/2ae02b91863136db18" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -110,7 +110,7 @@
|
|||
</blockquote>
|
||||
<p>You can also access the interface by opening the <a href="https://promote.telegram.org/account/budget">Manage Budget</a> page and clicking <strong>Add Funds</strong>.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001570/1/mDOlqNNmQVs.31879/1e339f191e1c524d7e" style="max-width: 400px;" title="Creating a request to add funds" alt="Creating a request to Add Funds">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001570/1/mDOlqNNmQVs.31879/1e339f191e1c524d7e" style="max-width: 400px;" title="Creating a request to add funds" alt="Creating a request to Add Funds">
|
||||
<source src="/file/464001462/2/4zUmvsrX5oE.2137378.mp4/108a56a3e42af59e86" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -136,7 +136,7 @@
|
|||
<h3><a class="anchor" name="ad-info" href="#ad-info"><i class="anchor-icon"></i></a>Ad Info</h3>
|
||||
<p>Click any of your ads on the <a href="http://promote.telegram.org/account">homepage</a> to make changes to its <strong>content</strong> and <strong>CPM</strong>, increase its <strong>budget</strong>, or see <strong>statistics</strong>. The title, text and URL of your sponsored message can be updated at any time (but not its targeting parameters) – to see a preview of how the sponsored message looks inside a channel, click ‘Preview Ad’.</p>
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="/file/464001822/2/7LDj5vvqN-A.44634/9b076decf0c3e89fee" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="/file/464001822/2/7LDj5vvqN-A.44634/9b076decf0c3e89fee" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<source src="/file/464001106/3/oozYA9s9aoY.995176.mp4/44b270207efac83a9a" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -178,7 +178,7 @@
|
|||
</div>
|
||||
|
||||
<div class="blog_video_player_wrap" style="max-width: 400px; margin: 20px auto 20px;">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay loop controls muted poster="PHOTO" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<video class="blog_video_player tl_blog_vid_autoplay" onclick="videoTogglePlay(this)" autoplay playsinline loop controls muted poster="PHOTO" style="max-width: 400px;" title="TITLE" alt="TITLE">
|
||||
<source src="VIDEO" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
@ -218,14 +218,15 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?54"></script>
|
||||
<script src="/js/widget-frame.js?50"></script>
|
||||
<script src="/js/widget-frame.js?51"></script>
|
||||
<script src="/js/promote.js?38"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":480,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":481,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
Aj.onLoad(function(state) {
|
||||
function requestConfirmation(event) {
|
||||
|
|
|
@ -210,14 +210,15 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?54"></script>
|
||||
<script src="/js/widget-frame.js?50"></script>
|
||||
<script src="/js/widget-frame.js?51"></script>
|
||||
<script src="/js/promote.js?38"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":480,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":481,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
Aj.onLoad(function(state) {
|
||||
function requestConfirmation(event) {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
/*! npm.im/iphone-inline-video 2.0.2 */
|
||||
|
||||
var enableInlineVideo=function(){"use strict";/*! npm.im/intervalometer */
|
||||
function e(e,i,n,r){function t(n){d=i(t,r),e(n-(a||n)),a=n}var d,a;return{start:function(){d||t(0)},stop:function(){n(d),d=null,a=0}}}function i(i){return e(i,requestAnimationFrame,cancelAnimationFrame)}function n(e,i,n,r){function t(i){Boolean(e[n])===Boolean(r)&&i.stopImmediatePropagation(),delete e[n]}return e.addEventListener(i,t,!1),t}function r(e,i,n,r){function t(){return n[i]}function d(e){n[i]=e}r&&d(e[i]),Object.defineProperty(e,i,{get:t,set:d})}function t(e,i,n){n.addEventListener(i,function(){return e.dispatchEvent(new Event(i))})}function d(e,i){Promise.resolve().then(function(){e.dispatchEvent(new Event(i))})}function a(e){var i=new Audio;return t(e,"play",i),t(e,"playing",i),t(e,"pause",i),i.crossOrigin=e.crossOrigin,i.src=e.src||e.currentSrc||"data:",i}function o(e,i,n){(m||0)+200<Date.now()&&(e[b]=!0,m=Date.now()),n||(e.currentTime=i),w[++T%3]=100*i|0}function u(e){return e.driver.currentTime>=e.video.duration}function s(e){var i=this;i.video.readyState>=i.video.HAVE_FUTURE_DATA?(i.hasAudio||(i.driver.currentTime=i.video.currentTime+e*i.video.playbackRate/1e3,i.video.loop&&u(i)&&(i.driver.currentTime=0)),o(i.video,i.driver.currentTime)):i.video.networkState===i.video.NETWORK_IDLE&&0===i.video.buffered.length&&i.video.load(),i.video.ended&&(delete i.video[b],i.video.pause(!0))}function c(){var e=this,i=e[h];return e.webkitDisplayingFullscreen?void e[g]():("data:"!==i.driver.src&&i.driver.src!==e.src&&(o(e,0,!0),i.driver.src=e.src),void(e.paused&&(i.paused=!1,0===e.buffered.length&&e.load(),i.driver.play(),i.updater.start(),i.hasAudio||(d(e,"play"),i.video.readyState>=i.video.HAVE_ENOUGH_DATA&&d(e,"playing")))))}function v(e){var i=this,n=i[h];n.driver.pause(),n.updater.stop(),i.webkitDisplayingFullscreen&&i[E](),n.paused&&!e||(n.paused=!0,n.hasAudio||d(i,"pause"),i.ended&&(i[b]=!0,d(i,"ended")))}function p(e,n){var r=e[h]={};r.paused=!0,r.hasAudio=n,r.video=e,r.updater=i(s.bind(r)),n?r.driver=a(e):(e.addEventListener("canplay",function(){e.paused||d(e,"playing")}),r.driver={src:e.src||e.currentSrc||"data:",muted:!0,paused:!0,pause:function(){r.driver.paused=!0},play:function(){r.driver.paused=!1,u(r)&&o(e,0)},get ended(){return u(r)}}),e.addEventListener("emptied",function(){var i=!r.driver.src||"data:"===r.driver.src;r.driver.src&&r.driver.src!==e.src&&(o(e,0,!0),r.driver.src=e.src,i?r.driver.play():r.updater.stop())},!1),e.addEventListener("webkitbeginfullscreen",function(){e.paused?n&&0===r.driver.buffered.length&&r.driver.load():(e.pause(),e[g]())}),n&&(e.addEventListener("webkitendfullscreen",function(){r.driver.currentTime=e.currentTime}),e.addEventListener("seeking",function(){w.indexOf(100*e.currentTime|0)<0&&(r.driver.currentTime=e.currentTime)}))}function l(e){var i=e[h];e[g]=e.play,e[E]=e.pause,e.play=c,e.pause=v,r(e,"paused",i.driver),r(e,"muted",i.driver,!0),r(e,"playbackRate",i.driver,!0),r(e,"ended",i.driver),r(e,"loop",i.driver,!0),n(e,"seeking"),n(e,"seeked"),n(e,"timeupdate",b,!1),n(e,"ended",b,!1)}function f(e,i){if(void 0===i&&(i={}),!e[h]){if(!i.everywhere){if(!y)return;if(!(i.iPad||i.ipad?/iPhone|iPod|iPad/:/iPhone|iPod/).test(navigator.userAgent))return}!e.paused&&e.webkitDisplayingFullscreen&&e.pause(),p(e,!e.muted),l(e),e.classList.add("IIV"),e.muted&&e.autoplay&&e.play(),/iPhone|iPod|iPad/.test(navigator.platform)||console.warn("iphone-inline-video is not guaranteed to work in emulated environments")}}var m,y="object"==typeof document&&"object-fit"in document.head.style&&!matchMedia("(-webkit-video-playable-inline)").matches,h="bfred-it:iphone-inline-video",b="bfred-it:iphone-inline-video:event",g="bfred-it:iphone-inline-video:nativeplay",E="bfred-it:iphone-inline-video:nativepause",w=[],T=0;return f};
|
||||
function e(e,i,n,r){function t(n){d=i(t,r),e(n-(a||n)),a=n}var d,a;return{start:function(){d||t(0)},stop:function(){n(d),d=null,a=0}}}function i(i){return e(i,requestAnimationFrame,cancelAnimationFrame)}function n(e,i,n,r){function t(i){Boolean(e[n])===Boolean(r)&&i.stopImmediatePropagation(),delete e[n]}return e.addEventListener(i,t,!1),t}function r(e,i,n,r){function t(){return n[i]}function d(e){n[i]=e}r&&d(e[i]),Object.defineProperty(e,i,{get:t,set:d})}function t(e,i,n){n.addEventListener(i,function(){return e.dispatchEvent(new Event(i))})}function d(e,i){Promise.resolve().then(function(){e.dispatchEvent(new Event(i))})}function a(e){var i=new Audio;return t(e,"play",i),t(e,"playing",i),t(e,"pause",i),i.crossOrigin=e.crossOrigin,i.src=e.src||e.currentSrc||"data:",i}function o(e,i,n){(m||0)+200<Date.now()&&(e[b]=!0,m=Date.now()),n||(e.currentTime=i),w[++T%3]=100*i|0}function u(e){return e.driver.currentTime>=e.video.duration}function s(e){var i=this;i.video.readyState>=i.video.HAVE_FUTURE_DATA?(i.hasAudio||(i.driver.currentTime=i.video.currentTime+e*i.video.playbackRate/1e3,i.video.loop&&u(i)&&(i.driver.currentTime=0)),o(i.video,i.driver.currentTime)):i.video.networkState===i.video.NETWORK_IDLE&&0===i.video.buffered.length&&i.video.load(),i.video.ended&&(delete i.video[b],i.video.pause(!0))}function c(){var e=this,i=e[h];return e.webkitDisplayingFullscreen?void e[g]():("data:"!==i.driver.src&&i.driver.src!==e.src&&(o(e,0,!0),i.driver.src=e.src),void(e.paused&&(i.paused=!1,0===e.buffered.length&&e.load(),i.driver.play(),i.updater.start(),i.hasAudio||(d(e,"play"),i.video.readyState>=i.video.HAVE_ENOUGH_DATA&&d(e,"playing")))))}function v(e){var i=this,n=i[h];n.driver.pause(),n.updater.stop(),i.webkitDisplayingFullscreen&&i[E](),n.paused&&!e||(n.paused=!0,n.hasAudio||d(i,"pause"),i.ended&&(i[b]=!0,d(i,"ended")))}function p(e,n){var r=e[h]={};r.paused=!0,r.hasAudio=n,r.video=e,r.updater=i(s.bind(r)),n?r.driver=a(e):(e.addEventListener("canplay",function(){e.paused||d(e,"playing")}),r.driver={src:e.src||e.currentSrc||"data:",muted:!0,paused:!0,pause:function(){r.driver.paused=!0},play:function(){r.driver.paused=!1,u(r)&&o(e,0)},get ended(){return u(r)}}),e.addEventListener("emptied",function(){var i=!r.driver.src||"data:"===r.driver.src;r.driver.src&&r.driver.src!==e.src&&(o(e,0,!0),r.driver.src=e.src,i?r.driver.play():r.updater.stop())},!1),e.addEventListener("webkitbeginfullscreen",function(){e.paused?n&&0===r.driver.buffered.length&&r.driver.load():(e.pause(),e[g]())}),n&&(e.addEventListener("webkitendfullscreen",function(){r.driver.currentTime=e.currentTime}),e.addEventListener("seeking",function(){w.indexOf(100*e.currentTime|0)<0&&(r.driver.currentTime=e.currentTime)}))}function l(e){var i=e[h];e[g]=e.play,e[E]=e.pause,e.play=c,e.pause=v,r(e,"paused",i.driver),r(e,"muted",i.driver,!0),r(e,"playbackRate",i.driver,!0),r(e,"ended",i.driver),r(e,"loop",i.driver,!0),n(e,"seeking"),n(e,"seeked"),n(e,"timeupdate",b,!1),n(e,"ended",b,!1)}function f(e,i){if(void 0===i&&(i={}),!e[h]){if(!i.everywhere){if(!y)return;if(!(i.iPad||i.ipad?/iPhone|iPod|iPad/:/iPhone|iPod/).test(navigator.userAgent))return}!e.paused&&e.webkitDisplayingFullscreen&&e.pause(),p(e,!e.muted),l(e),e.classList.add("IIV"),e.muted&&e.autoplay&&e.play(),/iPhone|iPod|iPad/.test(navigator.platform)||console.warn("iphone-inline-video is not guaranteed to work in emulated environments")}}var m,y="object"==typeof document&&"object-fit"in document.head.style&&!matchMedia("(-webkit-video-playable-inline)").matches,h="bfred-it:iphone-inline-video",b="bfred-it:iphone-inline-video:event",g="bfred-it:iphone-inline-video:nativeplay",E="bfred-it:iphone-inline-video:nativepause",w=[],T=0;return f}();
|
||||
|
||||
if (!Array.isArray) {
|
||||
Array.isArray = function(arg) {
|
||||
|
|
|
@ -150,14 +150,15 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?54"></script>
|
||||
<script src="/js/widget-frame.js?50"></script>
|
||||
<script src="/js/widget-frame.js?51"></script>
|
||||
<script src="/js/promote.js?38"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":480,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":481,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
Aj.onLoad(function(state) {
|
||||
function requestConfirmation(event) {
|
||||
|
|
Loading…
Reference in a new issue