');
nextMovieProgress('https://sofy.tv/viewer/film/script-srctriplecustcommenujsscriptthe-end?st=0');
$('#main-video').find('#starrating_film').barrating({
theme: 'fontawesome-stars',
onSelect: function(rating, text, event) {
$.post(BASE_URL + 'scripts/ajax.php', {
rating : rating,
uid: uid,
fid: fid,
update_rating: 1
}, function(data) {
Toast.fire({
icon: 'success',
title: 'Thanks for Rating!',
});
});
}
});
$('#replayButton').click(function(e) {
e.preventDefault();
$('.mcellf-buttons-icons').remove();
$('.vjs-control-bar').css('display', 'flex');
clearInterval(play_interal);
clearInterval(progressInterval);
player.play();
});
}
myPlayer.on("pause", function() {
clearInterval(play_interal);
});
var _earlyEnd = false;
myPlayer.on('timeupdate', function(event) {
if(this.currentTime() > (this.duration() - 10) && !_earlyEnd && this.currentTime() > 10)
{
_earlyEnd = true;
clearInterval(play_interal);
playEnd(this);
}
if(this.currentTime() < (this.duration() - 10))
{
_earlyEnd = false;
}
});
setTimeout(() => {
_time = '0';
myPlayer.autoplay('muted');
myPlayer.currentTime(_time);
}, 2000);
});
function logDuration(view_id, _duration) {
if (view_id != 0) {
$.post(BASE_URL + 'scripts/ajax.php', {
add_view_duration: 1,
duration: _duration,
id: view_id
}, function(data) {
});
}
}
function nextMovieProgress(_url) {
var elem = $('.progress_bar');
var width = 0;
progressInterval = setInterval(frame, 10);
function frame() {
if (width >= 100) {
clearInterval(progressInterval);
window.location = _url;
} else {
width += 0.1;
elem.css('width', width + '%');
}
}
}
function togglePlayPause() {
var player = videojs('main-video');
if (player.paused()) {
player.play();
} else {
player.pause();
}
}
$(function() {
$(document).on('keypress', function() {
const keyCode = event.keyCode || event.which;
if (keyCode == 32) {
_ignoreDiv = document.getElementById('add_review');
_ignoreDiv2 = document.getElementById('main_search_div');
if (event.target.type === 'button') {
event.target.blur();
event.preventDefault();
}
if(!_ignoreDiv.contains(event.target) && !_ignoreDiv2.contains(event.target))
{
event.preventDefault();
togglePlayPause();
}
}
});
});
ZERO
directed by Mike Johnston
Canada, 2018 - Age Rating 15+
13 min - Comedy
ZERO
directed by Mike Johnston
Canada, 2018 - Age Rating 15+
13 min - Comedy
SYNOPSIS: ZERO is a dark comedy about a zero waste serial killer...seriously. When Beatrix sees the results that human stupidity and behaviour is having on the planet, she decides to take matters into her own hands. And when she meets dim-witted animal control specialist, Harvey - she may just have a new recruit to enlist in her cause.