L.A. to Vegas
Statut : en cours
L.A. to Vegas affiche
Saison 1 Episode 2
Synopsis :
4
Followers 73
Views
7,142
L.A. to Vegas
Statut : en cours
L.A. to Vegas affiche
Réalisateur :
Pays :
Catégories :
Format : 22 min
Saisons : 1
Épisodes : 15
4
Followers 73
Views
53,565
L.A. to Vegas
Statut : en cours
L.A. to Vegas affiche
Synopsis : Les histoires rocambolesques du personnel et des passagers d'un avion qui assure chaque week-end la liaison entre Los Angeles et Las Vegas. La plupart d'entre eux rêvent de revenir de ce séjour les poches pleines grâce au jeu.
4
Followers 73
Views
7,142
L.A. to Vegas
Statut : en cours
L.A. to Vegas
Statut : en cours
L.A. to Vegas affiche
4
Followers 73
Views
7,142
L.A. to Vegas
Statut : en cours
L.A. to Vegas affiche
4
Followers 73
Views
7,142

Player Streaming

Langue

 Spoiler ou être spoilé (e) n'est pas une fatalité. Merci d'utiliser les balises pour respecter les autres visiteurs du site. Merci.
zamalbe66 il y a 6 mois

pas mal cette serie , assez drole , mais pas de nouveaux episodes sur dp??

Spoiler
"; var guest_normal_user = "1"; var user_id = 0; var playlist_time = 0; jQuery(document).ready(function () { var episode_id = jQuery("#tvshow_episode_id").val(); prevNextEpisode(episode_id); onvideo(); //for ad }); // function HideShowsign(id) { var serial_episode_number = '1'; for (i = 0; i <= serial_episode_number; i++) { if (id != i) { jQuery("#collapse" + i).removeClass("in"); jQuery("#plussign_" + i).removeClass("active"); } if (id == i) { if (jQuery("#plussign_" + i).hasClass('active') == true) { jQuery("#plussign_" + i).removeClass('active'); } else { jQuery("#plussign_" + i).addClass('active'); } } } } var serverurl = 'http://colombia-mmm.net/'; var tvshow_id = jQuery('#tvshow_id').val(); var user_age = jQuery('#user_age').val(); var tvshow_csa_type = jQuery('#tvshow_csa_type').val(); var tvshow_csa_age = jQuery('#tvshow_csa_age_value').val(); var tvshow_csa_cookie = jQuery('#tvshow_csa_cookie').val(); /* to show age confirmation popup*/ jQuery(document).ready(function () { /*to show season in aside open*/ var season_number = jQuery('#season_number').val(); var param_pass_count = '4'; if (param_pass_count == 2) { jQuery("#collapse0").addClass("in"); jQuery("#plussign_0").addClass("active"); } jQuery("#episodeSidebarNav").prepend(jQuery(".unique_" + season_number)); /*end to show season in aside open*/ if (user_age > 0) { if ((user_age < tvshow_csa_age) && (tvshow_csa_type != 1) && (tvshow_csa_type != 7) && (tvshow_csa_type != 6)) { jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/setMessage', dataType: "text", data: {user_age: user_age, tvshow_csa_age: tvshow_csa_age}, success: function () { window.location.href = '/'; } }); } else if ((user_age > tvshow_csa_age)) { } } else { if ((tvshow_csa_type > 1) && (tvshow_csa_cookie == '') && (tvshow_csa_type != 7) && (tvshow_csa_type != 6)) { jQuery(function () { jQuery('#csa').click(); }); } else if (tvshow_csa_cookie < tvshow_csa_age && tvshow_csa_type != 7 && tvshow_csa_type != 6 && tvshow_csa_type != 1) { jQuery(function () { jQuery('#csa').click(); }); } else if (tvshow_csa_type == 6 || tvshow_csa_type == 7) { } } }); function accessDetailPage() { var csa_type = jQuery("input[name=csa_type]:checked").val(); if (csa_type == 2) { jQuery(function () { jQuery('#close_csa').click(); }); jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/setMessage', dataType: "text", data: {csa_type: csa_type, tvshow_csa_age: tvshow_csa_age}, success: function (data) { } }); } else { jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/setMessage', dataType: "text", data: {csa_type: csa_type}, success: function () { window.location.href = '/'; } }); } } /* end to show age confirmation popup*/ function onvideo() { if (guest_normal_user == true) { var e = document.createElement('script'); e.type = 'text/javascript'; e.src = serverurl + 'js/custom/oav.js?t=' + Math.random().toString(36).substr(2, 16); e.async = true; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(e); } } function loadEpisodeInfo(episode_id, tvshow_id, season_num, episode_num, is_multi, is_triple, is_special) { jQuery.ajax({ url: serverurl + "tvshows/showepisodeTopValues/", type: "POST", data: {episode_id: episode_id, tvshow_id: tvshow_id, season_num: season_num, episode_num: episode_num}, success: function (data) { if (data.episode_calender_date != '') { jQuery("#episode_calender_date").html(' : ' + data.episode_calender_date); } else { jQuery("#episode_calender_date").html(data.episode_calender_date); } jQuery("#tvshow_episode_id").val(episode_id); jQuery(".episode-view").html(data.tvshow_view_count); //jQuery(".episode-vote").html(''); //jQuery(".episode-vote").html(data.votedata); jQuery(".tvshow_star_rating").val(data.rankdata); jQuery("#episodeSynopsis").html(''); if (data.episode_synopsis.toString() != 'N') { jQuery("#episodeSynopsis").html('Synopsis : ' + data.episode_synopsis + ''); } else { jQuery("#episodeSynopsis").html("Synopsis: "); } if (is_multi == "1") { var multi_val = episode_num + 1; jQuery("#episodeTitle").html('Saison ' + season_num + ' Episode ' + episode_num + '-' + multi_val); } else if (is_triple == "1") { var multi_val = episode_num + 1; var triple_val = episode_num + 2; jQuery("#episodeTitle").html('Saison ' + season_num + ' Episode ' + episode_num + '-' + multi_val + '-' + triple_val); } else if (is_special == "1") { var multi_val = episode_num + 1; jQuery("#episodeTitle").html('Saison ' + season_num + ' Episode ' + episode_num + '-' + multi_val); } else { jQuery("#episodeTitle").html('Saison ' + season_num + ' Episode ' + episode_num); } jQuery(".fiveStarRatingFun").remove(); jQuery(".tvshow_star_rating").fiveStarRatingFun({ starLength: '5', initialValue: data.rankdata, callbackFunctionName: 'mainRating', imageDirectory: '/img', inputAttr: 'postID', chkuser: user_id, errMsg:"Vous devez être connecté sur votre compte DPStream pour attribuer une note" }); jQuery(".episode-vote").html(''); jQuery(".episode-vote").html(data.votedata); var rateval = data.rankdata; jQuery('.tv-ratingstar ul').each(function (i) { jQuery(this).children("li").slice(0, 4).css('background-position', '0px 0px'); jQuery(this).children("li").slice(0, rateval).css('background-position', '0px -28px'); }); rateval = 0; }, complete: function (data) { } }); } /* to show the episode link on click of episode list */ function showepisodeLinks(id, specific_chat, tvshow_slug, tvshow_id, season_num, episode_num, primary_season_id, is_special, special_slug, is_multi, is_triple) { var hide_show_sign_episode_number = jQuery("a#epi_h_" + id).attr("name"); jQuery(".hide_show_panel").removeClass("in"); jQuery("#collapse" + hide_show_sign_episode_number).addClass("in"); var tvshow_title = jQuery('#tvshow_title').val(); jQuery("ul.episode_number_right").find('.active_episode').removeClass('active_episode').addClass('default'); jQuery("a#epi_" + id).addClass('active_episode'); showLoader(); jQuery.ajax({ url: serverurl + "tvshows/showepisodeLinks/" + id + "/" + specific_chat + "/" + tvshow_id, data: {tvshow_id: tvshow_id, tvshow_episode_id: id}, type: "POST", success: function (data) { if (window.history.state == null) { if (is_special == 1) { var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/' + special_slug + '.html'; } else if (is_multi == 1) { var episode_num_plus = parseInt(episode_num) + 1; var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/episode-' + episode_num + '-' + episode_num_plus + '.html'; } else if (is_triple == 1) { var episode_num_plus = parseInt(episode_num) + 1; var episode_num_triple = parseInt(episode_num) + 2; var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/episode-' + episode_num + '-' + episode_num_plus + '-' + episode_num_triple + '.html'; } else { var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/episode-' + episode_num + '.html'; } window.history.pushState({url: "" + ajaxurl + ""}, episode_num, ajaxurl); } else { if (is_special == 1) { var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/' + special_slug + '.html'; } else if (is_multi == 1) { var episode_num_plus = parseInt(episode_num) + 1; var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/episode-' + episode_num + '-' + episode_num_plus + '.html'; } else if (is_triple == 1) { var episode_num_plus = parseInt(episode_num) + 1; var episode_num_triple = parseInt(episode_num) + 2; var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/episode-' + episode_num + '-' + episode_num_plus + '-' + episode_num_triple + '.html'; } else { var ajaxurl = serverurl + 'serie-' + tvshow_id + '-' + tvshow_slug + '/saison-' + season_num + '/episode-' + episode_num + '.html'; } window.history.pushState({url: "" + ajaxurl + ""}, episode_num, ajaxurl); } //end //added for seo var lang_episode = 'épisode'; var lang_serie = 'Série'; var meta_title = tvshow_title + ' saison ' + season_num + ' ' + lang_episode + ' ' + episode_num + ' en streaming - DpStream'; var meta_keywords = lang_serie + ' ' + tvshow_title + ' streaming, ' + tvshow_title + ' dpstream, ' + lang_serie + ' ' + tvshow_title + ' HD, ' + tvshow_title + ' streaming VF, ' + tvshow_title + ' saison ' + season_num + ' ' + lang_episode + ' ' + episode_num + ' en streaming'; var meta_descriptions = lang_serie + ' TV ' + tvshow_title + ' saison ' + season_num + ' ' + lang_episode + ' ' + episode_num + ' en streaming'; jQuery('title').html(meta_title); jQuery('meta[name=keywords]').attr('content', meta_keywords); jQuery('meta[name=description]').attr('content', meta_descriptions); jQuery("meta[property='og\\:title']").attr("content", meta_title); jQuery("meta[property='og\\:description']").attr("content", meta_descriptions); //end jQuery("#episodeItemsContent").html(data); jQuery("#episodeSidebarNav").prepend(jQuery(".unique_" + season_num)); jQuery("#collapse" + season_num).addClass('in'); jQuery('#notifcreation').hide(); jQuery('#alertDetailItem').attr('onclick',"DPnotif.getDetailItem(20,'"+tvshow_title+"',"+tvshow_id+","+id+","+season_num+",'"+episode_num+"');"); }, complete: function (data) { jQuery('html, body').animate({scrollTop: jQuery('#main').offset().top}, 800);//scroll to top of flash message hideLoader(); onvideo(); //for ads prevNextEpisode(id); //load comment by episode getComment(tvshow_id, id); jQuery('#tvshow_episode_id').val(id); // to reset the settimeout autoAddPlaylist(); loadEpisodeInfo(id, tvshow_id, season_num, episode_num, is_multi, is_triple, is_special); } }); // to refresh all count jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/get_all_link_count', data: {episode_id: id}, dataType: "html", success: function (data) { //console.log(data); jQuery('.spaceTop').html(data); } }); // to refresh the adds on top detail page jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/reload_advertise', dataType: "html", success: function (data) { //console.log(data); jQuery('#tvshow_detail_ad').html(data); } }); } // Report Broken Link Section Start --> function ReportLink(tvshow_link_id) { jQuery('.message_success').empty(); jQuery('input[name=complain_type]:checked').removeAttr('checked'); jQuery('#report_link_tvshow_episode_number').val(''); jQuery('#report_link_tvshow_season_number').val(''); jQuery("#report_link_comment").val(''); jQuery('#tvshow_link_id').val(tvshow_link_id); jQuery("#dead_link_radio").click(function () { jQuery("#report_link_comment").val('').hide(); jQuery('.message_success').empty(); jQuery('#report_link_tvshow_episode_number').val('').hide(); jQuery('#report_link_tvshow_season_number').val('').hide(); }); jQuery("#wrong_episode_link_radio").click(function () { jQuery("#report_link_comment").val('').hide(); jQuery('#report_link_tvshow_episode_number').show(); jQuery('#report_link_tvshow_season_number').show(); jQuery('.message_success').empty(); }); jQuery("#other_link_radio").click(function () { jQuery("#report_link_comment").show(); jQuery('.message_success').empty(); jQuery('#report_link_tvshow_episode_number').val('').hide(); jQuery('#report_link_tvshow_season_number').val('').hide(); });// report_link_tvshow_episode_number } jQuery("#submit_broken_link").click(function (e) { // jQuery('.message_success').empty(); e.preventDefault; var tvshow_link_id = jQuery('#tvshow_link_id').val(); // jQuery('.message_success').empty(); var complain_type = jQuery("input[name=complain_type]:checked").val(); var tvshow_episode_number = jQuery('#report_link_tvshow_episode_number').val(); var tvshow_season_number = jQuery('#report_link_tvshow_season_number').val(); var description = checkScriptTag(jQuery("#report_link_comment").val()); if ((complain_type == 1) || ((complain_type == 3) && (description.length > 0)) || ((complain_type == 2 && tvshow_episode_number.length > 0 && tvshow_season_number.length > 0))) { jQuery.ajax({ type: "POST", url: serverurl + "broken_links/ajax_add_tvshow", data: {tvshow_links_id: tvshow_link_id, complain_type: complain_type, tvshow_episode_number: tvshow_episode_number, tvshow_season_number: tvshow_season_number, description: description}, // dataType: "text", success: function (data) { if (data == 1) { // //jQuery('.message_success').html('

'); jQuery('#ukflashmsg').html('

Succès!

Merci de votre signalement !

'); jQuery('#ukflashmsg').css('display', 'block'); } else if (data == 2) { //jQuery('.message_success').html('

'); jQuery('#ukflashmsg').html('

Pas de lien disponible!

Nous avons déjà reçu votre signalement, nous le vérifierons dès que possible. Merci !

'); jQuery('#ukflashmsg').css('display', 'block'); } else { //jQuery('.message_success').html('

'); jQuery('#ukflashmsg').html('

Pas de lien disponible!

merci de réessayer.

'); jQuery('#ukflashmsg').css('display', 'block'); } jQuery("#myModal").modal('hide'); jQuery('html, body').animate({scrollTop: jQuery('#main').offset().top}, 800);//scroll to top of flash message jQuery("#tvshow_broken_report_" + tvshow_link_id).html('
  • '); }, error: function () { jQuery("#myModal").modal('hide'); jQuery('#myModalError').modal('show'); } }); } else { jQuery('.message_success').html('

    Merci de remplir tous les champs pour valider votre signalement !

    '); } }); // Report Broken Link Section End /* to add the comment to link */ function showMoreAjax() { var last_episode_id = jQuery("#last_episode_id").val(); var tvshow_id = jQuery('#tvshow_id').val(); var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); var specific_chat =0; jQuery.ajax({ url: '/tvshows/show_more_tvshow_details_ajax', data: {tvshow_id: tvshow_id, episodeId: last_episode_id, tvshow_episode_id: tvshow_episode_id, specific_chat: specific_chat}, success: function (data) { if (data) { jQuery('#show_more_result').append(data); var inc = parseInt(last_episode_id) + parseInt(4); jQuery("#last_episode_id").val(inc); } else { jQuery(".showMoreErea").html(''); } }, complete: function (data) { prevNextEpisode(tvshow_episode_id); } }); } /* to filter the links by quality */ function filterByQuality(quality_id) { // filter by player if player is active var player_id; jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } // End filter by player if player is active /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); if (tvshow_episode_id !== undefined) { showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/filter_quality_data', data: {tvshow_episode_id: tvshow_episode_id, quality_id: quality_id, player_id: player_id}, success: function (data) { if (data) { jQuery('#episodeItemsContent').html(data); jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { jQuery(this).removeClass('active'); return false } }) jQuery('li.qualityOption_' + quality_id).addClass('active'); } else { } }, complete: function (data) { hideLoader(); onvideo(); //for ad prevNextEpisode(tvshow_episode_id); } }); } else { jQuery('#episodeItemsContent').html('No links found'); jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { jQuery(this).removeClass('active'); return false } }) jQuery('li.qualityOption_' + quality_id).addClass('active'); } } /* for pagination of quality filter*/ function filterByQualityMore(quality_id) { if (user_id) { var limit = jQuery('#show_more_quality_result').children().last().attr('id'); var limit = limit.split('_'); var limit = limit[1]; } else { var limit = jQuery('#show_more_quality_result tr').last().attr('id'); } // filter by player if player is active var player_id; jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } // End filter by player if player is active /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/filter_quality_data_more', data: {tvshow_episode_id: tvshow_episode_id, quality_id: quality_id, player_id: player_id, limit: limit}, success: function (data) { if (data != 1) { jQuery('#show_more_quality_result').append(data); jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { jQuery(this).removeClass('active'); return false } }) jQuery('li.qualityOption_' + quality_id).addClass('active'); } else { jQuery(".showMoreErea").html('') } }, complete: function (data) { hideLoader(); prevNextEpisode(tvshow_episode_id); } }); } /* to filter the links by player */ function filterByPlayer(player_id) { var quality_id; // to filter by quality if it is active jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); // end to filter by quality if it is active /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); if (tvshow_episode_id !== undefined) { showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/filter_player_data', data: {tvshow_episode_id: tvshow_episode_id, player_id: player_id, quality_id: quality_id}, success: function (data) { if (data) { jQuery('#episodeItemsContent').html(data); jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.playerOption_' + player_id).addClass('activeplayer'); } }, complete: function (data) { hideLoader(); onvideo(); //for ad prevNextEpisode(tvshow_episode_id); } }); // to refresh langauge count jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/get_langauage_link_count', data: {episode_id: tvshow_episode_id, player_id: player_id, }, dataType: "html", success: function (data) { //console.log(data); jQuery('.language-filter').html(data); } }); // to refresh quality count jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/get_quality_link_count', data: {episode_id: tvshow_episode_id, player_id: player_id, }, dataType: "html", success: function (data) { //console.log(data); jQuery('.quality-filter').html(data); } }); } else { jQuery('#episodeItemsContent').html('No links found'); jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.playerOption_' + player_id).addClass('activeplayer'); } } /* for pagination */ function filterByPlayerMore(player_id) { if (user_id) { var limit = jQuery('#show_more_player_result').children().last().attr('id'); var limit = limit.split('_'); var limit = limit[1]; } else { var limit = jQuery('#show_more_player_result tr').last().attr('id'); } var quality_id; // to filter by quality if it is active jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); // end to filter by quality if it is active /*to remove language filter*/ jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) /*end to remove language filter*/ var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/filter_player_data_more', data: {tvshow_episode_id: tvshow_episode_id, player_id: player_id, quality_id: quality_id, limit: limit}, success: function (data) { if (data != 1) { jQuery('#show_more_player_result').append(data); jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.playerOption_' + player_id).addClass('activeplayer'); } else { jQuery('.showMoreErea').html(''); } }, complete: function (data) { hideLoader(); prevNextEpisode(tvshow_episode_id); } }); } /* filter by language*/ function filterByLanuage(language_id) { var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); /* to check which player is active*/ var player_id; var quality_id; jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } /* end to check which player is active*/ /* to check which quality is active */ jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); /* end to check which quality is active */ if (tvshow_episode_id !== undefined) { showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/filter_language_data', data: {tvshow_episode_id: tvshow_episode_id, language_id: language_id, player_id: player_id, quality_id: quality_id}, success: function (data) { if (data != 1) { jQuery('#episodeItemsContent').html(data); jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.languageOption_' + language_id).addClass('activeplayer'); /*to remove quality*/ jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { jQuery(this).removeClass('active'); jQuery('li.qualityOption_0').addClass('active'); return false } }) /*end to remove quality*/ } else { jQuery('.showMoreErea').html(''); } }, complete: function (data) { hideLoader(); onvideo(); //for ad prevNextEpisode(tvshow_episode_id); } }); } else { jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.languageOption_' + language_id).addClass('activeplayer'); jQuery('#episodeItemsContent').html('No links found'); } } /* filter by language*/ function filterByLanuageMore(language_id) { if (user_id) { var limit = jQuery('#show_more_language_result').children().last().attr('id'); var limit = limit.split('_'); var limit = limit[1]; } else { var limit = jQuery('#show_more_language_result tr').last().attr('id'); } var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); /* to check which player is active*/ var player_id; var quality_id; jQuery('ul.palyers-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { player_id = jQuery(this).attr('id'); return false } }); if (player_id === undefined) { player_id = ''; } /* end to check which player is active*/ /* to check which quality is active */ jQuery('ul.quality-filter li').each(function () { if (jQuery(this).hasClass('active') == true) { quality_id = jQuery(this).attr('id'); return false } }); /* end to check which quality is active */ showLoader(); jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/filter_language_data_more', data: {tvshow_episode_id: tvshow_episode_id, language_id: language_id, player_id: player_id, quality_id: quality_id, limit: limit}, success: function (data) { if (data != 1) { jQuery('#show_more_language_result').append(data); jQuery('ul.language-filter li').each(function () { if (jQuery(this).hasClass('activeplayer') == true) { jQuery(this).removeClass('activeplayer'); } }) jQuery('li.languageOption_' + language_id).addClass('activeplayer'); } else { jQuery('.showMoreErea').html(''); } }, complete: function (data) { hideLoader(); prevNextEpisode(tvshow_episode_id); } }); } jQuery(document.body).on('mouseover', '.commentContent', function (e) { var parent_id = jQuery(this).parents('div.commentErea').parent().attr('id'); jQuery('#' + parent_id).find('.abuse').toggle(); }); /* to report the abuse*/ function report_abuse(id) { jQuery('#allCommentsSection_' + id).find('.abuse').show(); } // show tchat and hide comments function showTchat() { jQuery('#btn_tchat_0').removeClass().addClass('btn btn-dp-fill-orange btn-no-corners'); jQuery('#btn_comment_0').removeClass().addClass('btn btn-dp-strok-orange btn-no-corners'); jQuery('#comment_section_0').hide(); jQuery('#episode_comment_section_0').show(); } // show comments and hide tchat function showComment() { jQuery('#btn_tchat_0').removeClass().addClass('btn btn-dp-strok-orange btn-no-corners'); jQuery('#btn_comment_0').removeClass().addClass('btn btn-dp-fill-orange btn-no-corners'); jQuery('#comment_section_0').show(); jQuery('#episode_comment_section_0').hide(); } // show More comments and More tchat function showMoreComment(tchat) { //1=>tchat , 0 => comm var limit = jQuery('#comment_limit_' + tchat).val(); var tvshow_episode_id = jQuery("#tvshow_episode_id").val(); jQuery.ajax({ type: "POST", url: serverurl + "comments/ajax_show_comment_episode_comment", data: {item_id: tvshow_id, limit: limit, tchat: tchat, item_type: 2, episode_id: tvshow_episode_id}, success: function (data) { if (data) { if (tchat == 1) { jQuery('#all_episode_comment_section_0').append(data); } else { jQuery('#allCommentsSection_0').append(data); } } else { jQuery('#showMoreErea_' + tchat).html(''); } }, error: function () { jQuery('#myModalError').modal('show'); } }); limit = parseInt(limit) + parseInt(20); var data_end = jQuery('#comment_end_' + tchat).val(); if (parseInt(data_end) > parseInt(limit)) { jQuery('#comment_limit_' + tchat).val(limit); } else { jQuery('#showMoreErea_' + tchat).html(''); } } function add_playlist(is_flash) { var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); var tvshow_id =9208; if (user_id > 0) { jQuery('#ukflashmsg').html(''); jQuery.ajax({ type: 'POST', url: serverurl + 'tvshows/add_playlist/', data: {tvshow_id: tvshow_id, episode_id: tvshow_episode_id}, success: function (data) { if (is_flash == 1) { // This is a callback that runs if the submission was a success. if (data == 1) { jQuery('#ukflashmsg').html('

    Succès!

    Cet épisode a bien été ajouter a votre playlist.

    '); jQuery('#ukflashmsg').css('display', 'block'); } else if (data == 3) { jQuery('#ukflashmsg').html('

    Pas de lien disponible!

    Cet épisode série est déjà présent dans votre playlist.

    '); jQuery('#ukflashmsg').css('display', 'block'); } else { jQuery('#ukflashmsg').html('

    Erreur!

    merci de réessayer.

    '); jQuery('#ukflashmsg').css('display', 'block'); } } }, error: function () { jQuery('#myModalError').modal('show'); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour que vos Déjà vu s'actualise"); } } /* to commnt and episode comments */ function getComment(tvshow_id, tvshow_episode_id) { jQuery.ajax({ type: "POST", url: serverurl + 'comments/get_tvshow_comment', data: {tvshow_id: tvshow_id, tvshow_episode_id: tvshow_episode_id}, dataType: "html", success: function (data) { jQuery('#episodeItemCommentWrap_0').html(data); } }); } /* to add the comment on tvshow */ function addComment() { if (user_id > 0) { var is_spoiler = (jQuery('#is_spoiler_0').is(":checked")) ? 1 : 0; var comment_value = checkScriptTag(jQuery('#inputComment_0').val()); var removedSpoilerString = removeElements(comment_value, "spoiler"); if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: "/tvshows/ajax_add_tvshow_comment", data: {user_id: user_id, comment_value: comment_value, is_spoiler: is_spoiler, tvshow_id: tvshow_id}, dataType: "text", success: function (data) { jQuery('#allCommentsSection_0').prepend(data); jQuery('#inputComment_0').val(''); jQuery('#is_spoiler_0').removeAttr('checked'); } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour poster un commentaire"); } } /* to add the reply on tvshow comment */ function addReplyComment(comment_id) { var comment_value = checkScriptTag(jQuery('#inputReplyComment_' + comment_id).val()); if (user_id > 0) { var is_spoiler = (jQuery('#is_spoiler_reply' + comment_id).is(":checked")) ? 1 : 0; var removedSpoilerString = removeElements(comment_value, "spoiler"); if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: "/tvshows/ajax_add_reply_comment", data: {user_id: user_id, comment_value: comment_value, parent_id: comment_id, is_spoiler: is_spoiler, tvshow_id: tvshow_id}, dataType: "text", success: function (data) { jQuery('#childComments_' + comment_id).append(data); jQuery('#inputReplyComment_' + comment_id).val(''); jQuery('#is_spoiler_reply' + comment_id).attr('checked', false); // Unchecks it } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour répondre à un commentaire"); } } /* to add episode comments*/ function addEpisodeComment() { var tvshow_episode_id = jQuery("#tvshow_episode_id").val(); if (user_id > 0 && tvshow_episode_id > 0) { var tvshow_id = jQuery('#tvshow_id').val(); var is_spoiler = (jQuery('#is_spoiler_episode_comment_0').is(":checked")) ? 1 : 0; var comment_value = checkScriptTag(jQuery('#input_episode_comment_0').val()); var removedSpoilerString = removeElements(comment_value, "spoiler"); if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: serverurl + 'comments/ajax_add_tvshow_comment_episode', data: {user_id: user_id, tvshow_episode_id: tvshow_episode_id, comment_value: comment_value, is_spoiler: is_spoiler, tvshow_id: tvshow_id}, dataType: "text", success: function (data) { jQuery('#all_episode_comment_section_0').prepend(data); jQuery('.abuse').hide(); jQuery('#input_episode_comment_0').val(''); jQuery('#is_spoiler_episode_comment_0').attr('checked', false); // Unchecks it } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour commenter cet épisode"); } } /* to add reply on episode comments*/ function addReplyEpisodeComment(comment_id) { var tvshow_episode_id = jQuery('#tvshow_episode_id').val(); var comment_value = checkScriptTag(jQuery('#inputReplyEpisodeComment_' + comment_id).val()); var is_spoiler = (jQuery('#is_spoiler_episode_comment_reply' + comment_id).is(":checked")) ? 1 : 0; var removedSpoilerString = removeElements(comment_value, "spoiler"); if (user_id) { if (removedSpoilerString) { jQuery.ajax({ type: "POST", url: serverurl + 'comments/ajax_add_reply_tvshow_comment_episode', data: {user_id: user_id, tvshow_episode_id: tvshow_episode_id, comment_value: comment_value, parent_id: comment_id, is_spoiler: is_spoiler, tvshow_id: tvshow_id}, dataType: "text", success: function (data) { jQuery('#child_episode_Comments_' + comment_id).append(data); jQuery('.abuse').hide(); jQuery('#inputReplyEpisodeComment_' + comment_id).val(''); jQuery('#is_spoiler_episode_comment_reply' + comment_id).attr('checked', false); // Unchecks it } }); } else { showValidCommentDialogue(); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour pouvoir ajouter des favoris"); } } /* to generate spoiler tag on reply comments*/ function generate_spoiler_reply_tag(comment_id) { if (jQuery('#is_spoiler_reply' + comment_id).is(':checked')) { var input_val = jQuery('#inputReplyComment_' + comment_id).val(); jQuery('#inputReplyComment_' + comment_id).val(' ' + input_val + ' '); } else { var string = jQuery('#inputReplyComment_' + comment_id).val(); var new_string = string.replace(' ', '').replace(' ', ''); jQuery('#inputReplyComment_' + comment_id).val(new_string); } } /* to generate spoiler tag on episode comments*/ function generate_spoiler_tag_episode_comment() { if (jQuery('#is_spoiler_episode_comment_0').is(':checked')) { var input_val = jQuery('#input_episode_comment_0').val(); jQuery('#input_episode_comment_0').val('' + input_val + '') } else { var string = jQuery('#input_episode_comment_0').val(); var new_string = string.replace('', '').replace('', ''); jQuery('#input_episode_comment_0').val(new_string); } } /* to generate spoiler tag on reply episode comments*/ function generate_spoiler_episode_comment_reply_tag(comment_id) { if (jQuery('#is_spoiler_episode_comment_reply' + comment_id).is(':checked')) { var input_val = jQuery('#inputReplyEpisodeComment_' + comment_id).val(); jQuery('#inputReplyEpisodeComment_' + comment_id).val('' + input_val + '') } else { var string = jQuery('#inputReplyEpisodeComment_' + comment_id).val(); var new_string = string.replace('', '').replace('', ''); jQuery('#inputReplyEpisodeComment_' + comment_id).val(new_string); } } /* to add like for tvshow link */ function comment_like(primary_comment_id) { if (user_id > 0) { var like = 'like_' + primary_comment_id; jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/add_like_comment', data: {primary_comment_id: primary_comment_id}, success: function (data) { jQuery('#' + like).html(data); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour liker ce commentaire"); } } /* to add dislike for tvshow link */ function comment_dislike(primary_comment_id) { var dislike = 'dislike_' + primary_comment_id; if (user_id > 0) { jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/add_dislike_comment', data: {primary_comment_id: primary_comment_id}, success: function (data) { jQuery('#' + dislike).html(data); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour dislike ce commentaire"); } } /* to add like for episode comment */ function episode_comment_like(primary_comment_id) { if (user_id > 0) { var like = 'episode_comment_like_' + primary_comment_id; jQuery.ajax({ type: "POST", url: serverurl + 'comments/add_like_tvshow_comment_episode', data: {primary_comment_id: primary_comment_id}, success: function (data) { jQuery('#' + like).html(data); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour liker ce commentaire"); } } /* to add dislike for episode comment */ function episode_comment_dislike(primary_comment_id) { var dislike = 'episode_comment_dislike_' + primary_comment_id; if (user_id > 0) { jQuery.ajax({ type: "POST", url: serverurl + 'comments/add_dislike_tvshow_comment_episode', data: {primary_comment_id: primary_comment_id}, success: function (data) { jQuery('#' + dislike).html(data); } }); } else { show_login("Vous devez être connecté sur votre compte DPStream pour dislike ce commentaire"); } } /* to delete comments */ function ajaxDeleteComment(id, type) { var check = confirm("Are you sure you want to delete?"); if (check == true) { jQuery.ajax({ type: 'POST', url: serverurl + 'tvshows/ajax_delete_comment/', data: {id: id}, success: function (data) { if (data == 1) { if (type == 'reply') { jQuery("#reply" + id).remove(); } else { jQuery("#comment" + id).remove(); } } }, error: function () { alert('Whoops! This didn\'t work. Please contact us.') } }); } else { return false; } } /* to delete episode comments */ function ajaxDeleteEpisodeComment(id, type) { var check = confirm("Are you sure you want to delete?"); if (check == true) { jQuery.ajax({ type: 'POST', url: serverurl + 'comments/ajax_delete_tvshow_episode_comment/', data: {id: id}, success: function (data) { if (data == 1) { if (type == 'reply') { jQuery("#episode_comment_reply" + id).remove(); } else { jQuery("#episode_comment_" + id).remove(); } } }, error: function () { alert('Whoops! This didn\'t work. Please contact us.') } }); } else { return false; } } /* to submit the report abuse*/ function submit_abuse_comment(comment_id, commented_user_id) { if (user_id > 0) { var description = checkScriptTag(jQuery('#report_abuse_text_' + comment_id).val()); if (description != '') { jQuery.ajax({ type: "POST", url: serverurl + 'tvshows/submit_report_abuse', data: {link_id: 0, comment_id: comment_id, commented_user_id: commented_user_id, description: description}, success: function (data) { if (data == 1) { alert('You have submited successfully'); jQuery('#report_abuse_text_' + comment_id).val(''); jQuery(function () { jQuery('#close_' + comment_id).click(); }); } else { alert('You have already submited'); jQuery('#report_abuse_text_' + comment_id).val(''); jQuery(function () { jQuery('#close_' + comment_id).click(); }); } } }); } else { alert('Please enter the text'); } } else { show_login("Vous devez être connecté sur votre compte DPStream pour signaler un abus"); } } /* to submit report on episode comments */ function submit_abuse_episode_comment(comment_id, commented_user_id) { if (user_id > 0) { var description = checkScriptTag(jQuery('#episode_comment_report_abuse_text_' + comment_id).val()); if (description != ''){ jQuery.ajax({ type: "POST", url: serverurl+'comments/submit_tvshow_comment_episode_report_abuse', data: {tvshow_id:tvshow_id,comment_id:comment_id,commented_user_id:commented_user_id,description:description}, success: function(data) { if(data == 1){ alert('You have submited successfully'); jQuery('#episode_comment_report_abuse_text_'+comment_id).val(''); jQuery(function(){ jQuery('#close_'+comment_id).click(); }); } else{ alert('You have already submited'); jQuery('#episode_comment_report_abuse_text_'+comment_id).val(''); jQuery(function(){ jQuery('#close_'+comment_id).click(); }); } } }); } else{ alert('Please enter the text'); } }else{ show_login("Vous devez être connecté sur votre compte DPStream pour signaler un abus"); } } autoAddPlaylist(); function autoAddPlaylist(){ if(user_id>0 && playlist_time>0){ var playlist_time_cal=parseInt(playlist_time * 1000); var myPlaylist=setTimeout(add_playlist, playlist_time_cal); } }