A man teams up with his family to reform his girlfriend’s two warring uncles who want to inherit her wealth.
Duration:
00:01:56
Tags:
Ready
Actor:
Salman Khan ,
Asin Thottumkal ,
Paresh Rawal ,
Sharat Saxena ,
Sudesh Lehri ,
Manoj Joshi ,
Jacob Tremblay ,
Anuradha Patel ,
Prachee Pathak ,
Manoj Pahwa ,
Puneet Issar ,
Akhilendra Mishra ,
Gargi Patel ,
Nikitin Dheer ,
Arya Babbar ,
Eva Grover ,
Arun Bali ,
Hemant Pandey ,
Mithilesh Chaturvedi ,
Zareen Khan ,
Kangana Ranaut ,
Arbaaz Khan ,
Ajay Devgn ,
Sanjay Dutt ,
Chunky Pandey ,
Kubbra Sait ,
Ritesh Soni ,
Sunil Patel ,
Pritam Chakraborty ,
Anees Bazmee ,
Bhushan Kumar ,
Rajat Poddar ,
Sohail Khan ,
Rajeev Kaul ,
Krishan Kumar ,
Kona Venkat ,
Nisar Akhtar ,
Kumaar ,
Sandeep Shirodkar ,
Shahid Hasan ,
Gopi Mohan ,
Nitin Manmohan ,
Ikram Akhtar ,
Farhad Bhiwandiwala ,
Rajat Rawail ,
Jawed El Berni ,
Ashish Pandit ,
Amitabh Bhattacharya ,
Neelesh Misra ,
Neeraj Shridhar ,
Rahat Fateh Ali Khan ,
Mudassar Khan ,
Mika Singh ,
Vinay Singh Chuphal ,
Yogiraj Shetty ,
Sudhakar Kankanampati ,
Aziz Merchant ,
Anuj Upadhyay ,
Rajan Aggarwal ,
Amrita Kak ,
Parikshit Tyagi ,
Tulsi Kumar ,
{{ series.year }}
{{ startReleasedDate }}
{{ series.price_tag }}
{{ maturityText(series.maturity_level) }}
{{ allSeasons(series.season_count) }}
{{ series.mpaa_rating }}
More Like This
About
Maturity Level :
{{ maturityText(series.maturity_level) }}
Recommended for every age group
Recommended for {{ maturityText(series.maturity_level) }} audience
`;
Vue.component('series-detail-block',{
template:_seriesBlockDetail,
data: function(){
return {
artistsArr:[],
relatedSeries: [],
episodes:[],
seasons:[],
selectedSeasonId:'',
comingSoonMessage:false,
firstSeason:{},
message:'testing for you',
page:1,
lastPage:'',
baseUrl:`https://demo.vodlix.com`,
isMobile:false,
artistsAjax:{},
relatedAjax:{},
seasonsAjax:{},
episodesAjax:{},
trailer:{},
emebedTrailer:'',
vplayer:null,
playerMute:false,
playerConfigurations: {
sprite : null,
}
}
},
props:{
series:{
type:Object
},
logintowatch:{
type:Boolean,
default:false
},
modal:{
type:false,
default:false
}
},
computed:{
startReleasedDate(){
//console.log( 'this.series.start_released_date asd', this.series.start_released_date )
if ( this.series.start_released_date != undefined ){
let fullDate = this.series.start_released_date
let year = fullDate.split('-')
return year[0]
}
},
maturityText(){
return ( text ) => {
return getFormattedMaturityLevel(text);
}
},
allSeasons(){
return (seasons) => {
if ( seasons != undefined && seasons != '' && seasons != null ){
if (seasons == 1)
return seasons + ' ' + `Season`
else
return seasons + ' ' + `Seasons`
}
}
},
seriesThumb() {
return this.series.thumbs["632x395"] || this.series.thumbs["416x260"] || this.series.thumb;
},
seriesName(){
return this.series.series_name
},
seriesId(){
return this.id = `media-${this.series.series_id}`
},
percantageWidth(){
return ( percantage ) => {
//console.log( hover )
return { 'width': `${percantage}%` }
}
},
resumeWatchTime(){
return `/watch/${this.series.first_episode_id}?type=series&series_id=${this.series.series_id}&season_id=${this.series.last_watch_episode_id}&last_watch_time=${this.series.last_watch_time}`
},
playUrl(){
return `/watch/${this.series.first_episode_id}?type=series&series_id=${this.series.series_id}&season_id=${this.series.first_season_id}`
},
trailerUrl(){
return `/watch/${this.series.trailer.trailer_id}`
},
portraitThumb(){
if( this.series.portrait_thumbs && ( this.series.portrait_thumbs['480x720'] || this.series.portrait_thumbs['320x480'] ) )
return this.series.portrait_thumbs['320x480'] || this.series.portrait_thumbs['480x720'] || this.series.portrait_thumbs.original
else
return false;
},
hasMedia() {
return this.trailer._media && this.trailer._media.length > 0;
},
poster() {
return this.series.thumbs && (this.series.thumbs.original || this.series.thumbs['1280x720']);
},
emebedIframe(){
return this.emebedTrailer
},
volumeIcon(){
return this.playerMute ? 'mdi-volume-high' : 'mdi-volume-variant-off'
},
},
methods:{
getArtists(){
let _this = this
this.artistsAjax = window.vodlix.api.get(`/content_artists?content_id=${this.series.series_id}&content_type=2&info=true`);
let artistsPromise = this.artistsAjax.then(res=>{
//console.log('res',res )
this.$set(this, 'artistsArr', res.data )
}).catch(err=>{
//console.log('err', err)
}).always(always=>{
_this.artistsAjax = {}
});
},
seasonChange(val){
this.selectedSeasonId = val
//console.log( val )
this.$set(this, "page", 1);
this.getSeasonEpisodes(val)
},
getSeasonList( load_more = false ){
let _this = this
this.seasonsAjax = window.vodlix.api.get(`/season/list/${this.series.series_id}`);
let seasonsPromise = this.seasonsAjax.then(res=>{
let seasonsArray = res.data.seasons
let appendText = seasonsArray.map(item => {
let text = 'Season' + ' ' + item.sequence
item.sequence = text
return item
})
this.seasons = appendText;
if( load_more == true ) {
if( this.selectedSeasonId == '' || this.selectedSeasonId == undefined || this.selectedSeasonId == false ) {
this.selectedSeasonId = this.seasons[0].season_id;
}
this.getSeasonEpisodes(this.selectedSeasonId)
} else {
this.getSeasonEpisodes(this.seasons[0].season_id)
}
//console.log( 'this.seasons', this.seasons )
}).catch(err=>{
//console.log('err', err)
}).always(always=>{
_this.seasonsAjax = {}
});
},
getSeasonEpisodes(obj){
let _this = this
this.episodesAjax = window.vodlix.api.get(`/season/data?series_id=${this.series.series_id}&season_id=${obj}&page=${this.page}&paginate=1`);
let episodesPromise = this.episodesAjax.then(res=>{
//console.log( 'res s',res )
if(this.page === 1) {
this.episodes = res.data.data
}
else {
this.episodes.push(...res.data.data)
}
this.page = res.data.current_page
this.lastPage = res.data.last_page
if ( this.episodes.length <= 0 )
this.comingSoonMessage = true
else
this.comingSoonMessage = false
}).catch(err=>{
//console.log('err ', err)
}).always(always=>{
_this.episodesAjax = {}
});
},
getRelatedSeries(){
let _this = this
var apiURL = `/related/content/${this.series.series_id}/2`;
this.relatedAjax = window.vodlix.api.get(apiURL);
let relatedPromise = this.relatedAjax.then(res=>{
//console.log( 'res dsf',res.series.related_series )
this.$set(this, 'relatedSeries', res.data)
if ( this.relatedSeries.length == 0 && this.series.categories[0] !== null && this.series.categories[0] !== undefined ){
let seriesCategories = this.series.categories[0].category_id;
window.vodlix.api.get(`/series/list/?categories=${seriesCategories}&exclude_video=${this.series.series_id}`).then(res=>{
//console.log('dasd', res )
this.$set(this, 'relatedSeries', res.series.category_series[seriesCategories] )
}).catch(err=>{
//console.log('err', err)
})
}
}).catch(err=>{
//console.log('err', err)
}).always(always=>{
_this.relatedAjax = {}
});
},
loadMoreEpisode(){
if ( this.page < this.lastPage ){
this.page++
this.getSeasonList( true );
}
},
getMobileDevice(){
let isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
if ( window.innerWidth < 767 || isMobile )
this.isMobile = true
else
this.isMobile = false
},
getFirstSeasonEpisodes(series, resumeTime){
//console.log( 'series', series )
let data ={
'data': {
'series_id':series.series_id
}
}
window.vodlix.api.get(`/series/firstdata`,data).then(res => {
let firstEdpisodeId = res.data.episode.videoid
let firstSeasonId = res.data.episode.season_id
let watch_url = res.data.episode.watch_url
if ( resumeTime == true )
window.location.href = `https://demo.vodlix.com${watch_url}?type=series&series_id=${series.series_id}&season_id=${series.last_watch_episode_id}&last_watch_time=${series.last_watch_time}`
else
window.location.href = `https://demo.vodlix.com${watch_url}?type=series&series_id=${series.series_id}&season_id=${firstSeasonId}`
}).catch(err => {
console.log('err', err)
})
},
playContinueWatchEpisode(series){
window.location.href = `https://demo.vodlix.com/watch/${series.videoid}?type=series&series_id=${series.series_id}&season_id=${series.season_id}&last_watch_time=${series.last_watch_time}`
},
trailerVideo(){
window.vodlix.api.post(`/v2/videos/${this.series.trailer.trailer_id}/playable`).then(res=>{
// console.log('res',res )
this.$set(this, 'trailer', res.data[0] )
this.$set(this, 'emebedTrailer', res.data[0].content.embed_code )
}).catch(err=>{
console.log('err', err)
})
},
init( refs, options ){
this.$nextTick(() => {
this.vplayer = BeeExPlayer(refs, options);
const modalBox_trailer_muted = '1';
if( modalBox_trailer_muted == 0 || modalBox_trailer_muted == '0' ) {
this.vplayer.muted(false);
if( this.vplayer.muted() == false ) {
this.playerMute = true
$(".iframePlayPauseSeries").addClass("active");
} else {
this.playerMute = false
$(".iframePlayPauseSeries").removeClass("active");
}
}
})
}
},
beforeDestroy() {
if ( this.vplayer)
this.vplayer.dispose();
},
mounted(){
let _this = this
$('.seriesDetailModal').on('shown.bs.modal', function (event) {
if ( _this.series.trailer != undefined)
_this.trailerVideo();
_this.getArtists()
_this.getSeasonList()
_this.getRelatedSeries();
$("body").tooltip({ selector: '[data-toggle=tooltip]' });
})
$('.seriesDetailModal').on('hidden.bs.modal', function (event) {
_this.page = 1;
_this.selectedSeasonId = ''
if ( !_.isEmpty(_this.artistsAjax) )
_this.artistsAjax.abort();
if ( !_.isEmpty(_this.relatedAjax) )
_this.relatedAjax.abort();
if ( !_.isEmpty(_this.seasonsAjax) )
_this.seasonsAjax.abort();
if (!_.isEmpty(_this.episodesAjax))
_this.episodesAjax.abort();
_this.artistsArr = []
_this.relatedSeries = []
_this.episodes = []
_this.seasons = []
_this.trailer = {},
_this.emebedTrailer = ''
_this.vplayer = {}
_this.playerMute = false
if ( !_.isEmpty(_this.vplayer) && _this.vplayer)
_this.vplayer.muted(true)
$('.detailsThumb').find('iframe').remove();
$('.iframePlayPause').remove('active');
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();
})
if ( this.modal != true ){
this.getArtists()
this.getSeasonList()
this.getRelatedSeries()
if ( this.series.trailer != undefined)
this.trailerVideo();
}
$(document).ready(function(){
var clipboard = new Clipboard('.copyButton');
clipboard.on('success', function(e) {
console.log(e);
window.vodlix.success.toast({
html: `Copied`
});
});
clipboard.on('error', function(e) {
console.log(e);
});
$(document.body).on('click', '.iframePlayPauseSeries' ,function(){
$(this).toggleClass('active')
if ( $(this).hasClass('active') ){
_this.vplayer.muted(false)
_this.playerMute = true
}
else{
_this.vplayer.muted(true)
_this.playerMute = false
}
});
});
this.getMobileDevice()
window.addEventListener("resize", this.getMobileDevice );
},
watch: {
trailer: function (newValue, oldValue) {
this.init(this.$refs.seriesPlayer, this.playerConfigurations);
}
},
})
-->
Login
Connect through
{{ network.name }}
`;
Vue.component('login-form',{
template:_loginTemplate,
data:function(){
return {
usernameVal:'',
msg:[],
passwordVal:'',
isLoading: false,
loading: "",
showPassword:false,
minUsername:`1`,
socialNetworks: JSON.parse('null'),
loginWithOTP: `0`,
disableCaptcha:`1`,
successReq:window.vodlix.loginSuccess,
showLoginNote: "0",
loginNoteInHtml: ``
}
},
props:{
lasturl:{
type:String,
default:''
}
},
computed: {
hasSocialNetworks() {
return this.socialNetworks && this.socialNetworks.length > 0;
},
disabledCaptcha() {
return this.disableCaptcha != "1";
},
btnDisable(){
// return this.usernameVal.length < this.minUsername || this.passwordVal.length < 1
return this.usernameVal.length < 1 || this.passwordVal.length < 1
}
},
methods:{
userNameRules(){
if ( this.usernameVal == '' )
this.msg['usernameVal'] = `Username is required`
else
this.msg['usernameVal'] = ''
// else if ( this.usernameVal.length < this.minUsername )
// this.msg['usernameVal'] = `Username must contain atleast ${this.minUsername} characters`
},
passwordRules(){
if ( this.passwordVal == '' )
this.msg['passwordVal'] = `Password is required`
else
this.msg['passwordVal'] = ''
// else if ( this.passwordVal.length < 3 )
// this.msg['passwordVal'] = `Password must be alphanumeric`
},
getLogin(){
var button_text = 'Logging In...'
$(".submitBtn").attr('disabled',true)
$(".submitBtn").html(button_text)
window.vodlix.auth.loginUser({
username: this.usernameVal,
password: this.passwordVal
},this.lasturl);
},
requestAuthUrl(network) {
this.$set(this, "isLoading", true);
this.$set(this, "loading", network.network);
window.vodlix.api.get(`/v2/auth/social/${ network.network }`)
.then(response => {
const { data } = response;
if (data.auth_url !== undefined) {
return window.location.href = data.auth_url;
} else {
window.vodlix.error.toast({
html: `No oauth url returned for ${ network.name }. Please contact our support .`
});
this.$set(this, "isLoading", false);
this.$set(this, "loading", "");
}
}).catch(err => {
const { responseJSON: response } = err;
window.vodlix.error.toast({
text: response.message
});
this.$set(this, "isLoading", false);
this.$set(this, "loading", "");
})
}
},
mounted(){
//console.log('sdf', window.awl.baseUrl)
},
})
-->