https://content.jwplatform.com/libraries/GqX43ZoG.js

var playerInstance = jwplayer(“jwvideo_kOZwCRiK”);
playerInstance.setup({
“file”: “https://content.jwplatform.com/videos/kOZwCRiK.mp4”,
});

jwplayer(“jwvideo_kOZwCRiK”).on(‘play’,function(){

jQuery(window).scroll(function(e){
var jdiv = jQuery(‘#jwvideo_kOZwCRiK’);
var isPositionFixed = (jdiv.css(‘position’) == ‘fixed’);

if (jQuery(window).scrollTop() > 650 && !isPositionFixed){
jQuery(‘#jwvideo_kOZwCRiK’).css({‘position’: ‘fixed’, ‘top’: ‘0px’,’width’:’650px’, ‘height’:’260px’, ‘z-index’: ‘9999’,’right’:’0px’});
jQuery(‘#jwcontentarea_kOZwCRiK’).css({‘height’: ‘260px’});
}
if (jQuery(window).scrollTop() 650 && !isPositionFixed){
jQuery(‘#jwvideo_kOZwCRiK’).css({‘position’: ‘fixed’, ‘top’: ‘0px’,’width’:’650px’, ‘height’:’260px’, ‘z-index’: ‘9999’,’right’:’0px’});
jQuery(‘#jwcontentarea_kOZwCRiK’).css({‘height’: ‘260px’});
}
if (jQuery(window).scrollTop() < 650 && isPositionFixed)
{
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
}
});
});

jwplayer("jwvideo_kOZwCRiK").on('pause',function(){
jQuery(window).scroll(function(e){
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});

jwplayer("jwvideo_kOZwCRiK").on('adPause',function(){
jQuery(window).scroll(function(e){
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});

jwplayer("jwvideo_kOZwCRiK").on('stop',function(){
jQuery(window).scroll(function(e){
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});

jwplayer("jwvideo_kOZwCRiK").on('beforeComplete',function(){
jQuery(window).scroll(function(e){
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});
jQuery('#jwvideo_kOZwCRiK').css({'position': 'relative','width':'100%', 'height':'260px'});
jQuery('#jwcontentarea_kOZwCRiK').css({'height': '0px'});
});

On Thursday night, Tyrese checked himself into the hospital for chest pains and dehydration after spending the day in court over a custody battle with his ex-wife.

According to TMZ, Tyrese began to experience chest pains shortly after leaving the courthouse and subsequently went to the hospital. He received fluids to treat the dehydration and is undergoing tests to determine the cause of his chest pains. The singer also reportedly suffered from anxiety.

–Tyrese fields sympathy, praises wife in post before custody hearing–

This comes after Tyrese spent Thursday in a court battle with ex-wife Norma Gibson, who has accused the singer of hitting their daughter, Shayla. She also claimed that he spied on her and that she had reason to fear for her safety, and she was granted a temporary restraining order against Tyrese in which he is not allowed near her or their daughter.

Tyrese wore all black to the courtroom and declared that he had done so because the day was a funeral for the abuse allegations being leveled against him.