Advertisement
sk8ordie

nava info html

Aug 8th, 2022
1,027
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.83 KB | None | 0 0
  1. <div class="videoInfoTitleBar">
  2.             <div class="videoInfoTitleBarInner">
  3.                 <div class="navaVideoTitleContainer">
  4.                     <div class="videoTitle">Rádiószínház</div></div>
  5.                 <div class="videoTitleInfo">
  6.                     <div class="videoTitleInfoTopWrapper"><span class="productionYear"><span
  7.                                        class="titleInfoBold">Gyártási év: </span>2022| </span><span class="broadcastDay"><span class="titleInfoBold">Adásnap: </span>2022. július 16.</span></div>
  8.                     <div class="videoTitleInfoBottonWrapper"><span class="broadcastTime"><span class="titleInfoBold">Időpont: </span>21:31:22 | </span><span class="duration"><span
  9.                                    class="titleInfoBold">Időtartam: </span>00:27:07| </span>
  10.                         <span class="source"><span
  11.                                    class="titleInfoBold">Forrás: </span>Kossuth Rádió| </span>
  12.                         <span class="solrID"><span
  13.                                    class="titleInfoBold">ID: </span>3964147</span>
  14.                     </div>
  15.                     <div class="videoTitleInfoBottonWrapper" style="display:block"><span class="broadcastTime"><span class="titleInfoBold">Beszélt nyelv: </span>magyar</span></div>
  16.                 </div>
  17.             </div>
  18.         </div><div class="videoInfoDataBar">
  19.             <div class="videoInfoDataBarInner">
  20.                 <div class="videoData"><span class="genre">NAVA műfaj: </span>3.2.2.2 Jelenkori színmű /dráma, vígjáték/</span><div class="specialContent onlyNavaPoint"></div><div class="video_titles_container"><span class="titles_element"><span class="title_name">Főcím:</span> Rádiószínház</span><div class="hidden_titles" style="display: none !important;"></div>
  21.         </div>
  22.         </div>
  23.         <div class="videoDataShareButtons">
  24.                         <span title="Felvétel a kedvencek közé" class="addToFavorite"
  25.                              onclick="addToList('3964147', 'Favorites');"></span>
  26.             <span title="Felvétel a megnézendő videók listájába" class="addToWatchList"
  27.                  onclick="addToList('3964147', 'WatchList');"></span>
  28.             <span title="Küldés e-mailben" class="sendToMail"><a
  29.                        href="mailto:?Subject=NAVA: &body=NAVA.hu Archívum: %0D%0A%0D%0Ahttps://nava.hu/id/3964147/"></a> </span>
  30.             <span title="Beágyazó kód" class="embedUrl"
  31.                  onclick="embedUrl('https://nava.hu/embed/3964147');"></span>
  32.             <span title="Megosztás a Facebook-on" class="shareWithFacebook"
  33.                  onclick="fb_share('https://nava.hu/id/3964147/', '', 'Rádiószínház', 'Kossuth Rádió, 2022-07-16 ');"></span>
  34.             <span title="Visszajelzés" class="errorReport" onclick="error_report();"></span>
  35.         </div>
  36.         </div>
  37.         </div><div id="dialog" title="Közvetlen média link" style="display:none;">
  38.             <p>//stream.nava.hu/playout/3964147/playlist.m3u8</p>
  39.         </div>
  40.         <div id="embeddialog" title="Beágyazható kód" style="display:none;">
  41.             <p>A beágyazási kód a szabadon hozzáférhető műsorok esetében a teljes videót engedi kijátszani, a
  42.                 korlátozott hozzáférésű műsoroknál <a href="//nava.hu/nava-pontok/">NAVAPONT</a>-on kívül csak
  43.                 az egyperces betekintő videót fogja engendi kijátszani.</p>
  44.             <textarea><iframe width="500" height="300" src="https://nava.hu/embed/3964147" scrolling="no" frameborder="0" allow="encrypted-media" allowfullscreen></iframe></textarea>
  45.         </div>
  46.         <script>
  47.             jQuery(document).ready(function () {
  48.                 form_fill_data('Rádiószínház', '3964147');
  49.  
  50.  
  51.  
  52.                 jQuery(document).on('guh_loggedin_toggle', function () {
  53.                     location.reload();
  54.                 });
  55.  
  56.                 jQuery(document).on('guh_loggedin_toggle', function () {
  57.                     location.reload();
  58.                 });
  59.  
  60.                 getPlayUrl(0);
  61.  
  62.                 // levágjuk a kilógó karaktereket, pontpontpont-ozzuk
  63.                 jQuery('.gridArticleTitleContainer h4').each(function () {
  64.                     var maxH = parseInt(jQuery(this).prop('clientHeight')) + 10;
  65.                     if (jQuery(this).prop('scrollHeight') > maxH) {
  66.                         var originalHtml = jQuery(this).html();
  67.                         do {
  68.                             var h = jQuery(this).html();
  69.                             jQuery(this).html(h.substr(0, h.length - 1));
  70.                         } while (jQuery(this).prop('scrollHeight') > maxH)
  71.                         jQuery(this).html(h.substr(0, h.length - 3 - 1)); // még extra hely a ... -nak
  72.                         jQuery(this).attr('title', originalHtml).html(jQuery(this).html() + ' ...');
  73.                     }
  74.                 });
  75.             });
  76.  
  77.             jQuery('.show_hidden_titles').click(function () {
  78.                 jQuery('.hide_hidden_titles').show();
  79.                 jQuery('.hidden_titles').show('fast');
  80.                 jQuery(this).hide();
  81.             });
  82.  
  83.             jQuery('.hide_hidden_titles').click(function () {
  84.                 jQuery('.show_hidden_titles').show();
  85.                 jQuery('.hidden_titles').hide('fast');
  86.                 jQuery(this).hide();
  87.             });
  88.  
  89.             function getPlayUrl(i) {
  90.                 if (i < 5) {
  91.                    setTimeout(function () {
  92.                        var playUrl = jQuery('#videoPlayer').find('video').attr('src');
  93.                        if (playUrl !== undefined) {
  94.                            jQuery('.player_link').attr('onclick', 'player_link(\'' + playUrl + '\');');
  95.                            jQuery('#dialog').html('<p>' + playUrl + '</p>');
  96.                             i++;
  97.                             getPlayUrl(i);
  98.                         } else {
  99.                             i++;
  100.                             getPlayUrl(i);
  101.                         }
  102.                     }, 500);
  103.                 }
  104.             }
  105.  
  106.             function searchPerson(name) {
  107.                 window.location.href = '//nava.hu/talalati-lista/?person=' + name;
  108.             }
  109.  
  110.             function searchTag(tag) {
  111.                 window.location.href = '//nava.hu/talalati-lista/?tag=' + tag;
  112.             }
  113.  
  114.             function addToList(id, type) {
  115.                 if (getCookie('guhToken') == '') {
  116.                     jQuery('#loginPopup').dialog('open');
  117.                 }
  118.                 else {
  119.                     jQuery.post('/wp-content/plugins/hms-global-user-handler/interfaces/addToList.php', {
  120.                         video: '{\"id\":\"3964147\",\"free_content\":false,\"title\":\"R\\u00e1di\\u00f3sz\\u00ednh\\u00e1z\",\"productionYear\":\"2022\",\"broadcastDay\":\"2022. j\\u00falius 16.\",\"broadcastTime\":\"21:31:22\",\"duration\":\"00:27:07\",\"duration_in_min\":27,\"source\":\"120\",\"channel\":\"Kossuth R\\u00e1di\\u00f3\",\"genre\":\"3.2.2.2 Jelenkori sz\\u00ednm\\u0171 \\/dr\\u00e1ma, v\\u00edgj\\u00e1t\\u00e9k\\/\",\"agelimit\":null,\"description\":\"\\n\",\"content\":\"<a href=\\\"javascript:void(0);\\\" onClick=\\\"window.top.scrollTo(0,0); keyosPlayer.getPlayer(\'keyosVideoPlayer\').currentTime(1626);\\\">[00:27:06]<\\/a> - Granados, Enrique: V. spanyol t\\u00e1nc - Andaluza (Lendle, Wolfgang)\\n\",\"url\":\"Broadcast\\/2022\\/07\\/16\\/kossuth-20220716-000000.mp4\",\"image\":null,\"playUrl\":\"\\/\\/stream1.nava.hu\\/playout\\/3964147\\/playlist.m3u8\",\"guide_description\":\"\"}',
  121.                         blogId: 2,
  122.                         list_element: type
  123.                     }, function (answer) {
  124.                         jQuery.event.trigger('guh_showAlert', {message: answer});
  125.                     });
  126.                 }
  127.             }
  128.  
  129.         </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement