Fix For Bitchute Videos That NO LONGER LOAD - Please Share This Far Wide
Source:
https://reddit.com/r/BitChute/comments/11ypiof/fix_for_videos_that_wont_load-----
Copy and paste the following script:
javascript: (function () { function getHtmlPageVidLink(){return $('source')[0].src.split('.bitchute.com/')[1]};var lastKnownCurrentTime=plyr.currentTime;function setHtmlPageSeed(seedLink){$('source')[0].src=seedLink;$('video')[0].src=seedLink;plyr.play().then(()=>{plyr.currentTime=lastKnownCurrentTime})};availableSeedArray=['seed111','seed132','seed122','seed167','seed126','seed171','seedp29xb','seed305','seed307','seed128','seed125','seed177','zb10-7gsop1v78'];var seedArrayCurrentPosition=1;function getNewRandomSeed(){var _tempPosition=Math.floor(Math.random(availableSeedArray.length-1)*10);if(_tempPosition==seedArrayCurrentPosition){if((_tempPosition+1)>(availableSeedArray.length-1)){_tempPosition=0}else{_tempPosition+=1}}seedArrayCurrentPosition=_tempPosition;return seedArrayCurrentPosition};var newSeedVidLink='';function getSeedSourceFromSeedNo(seedNo,vidLink){if(!vidLink){var vidLink=getHtmlPageVidLink()}if(!seedNo){var seedNo=availableSeedArray[getNewRandomSeed()]}newSeedVidLink='https://'+seedNo+'.bitchute.com/'+vidLink;setHtmlPageSeed(newSeedVidLink);return newSeedVidLink};getSeedSourceFromSeedNo(); })();
(function () {
const getHtmlPageVidLink = () => $('source')[0].src.split('.bitchute.com/')[1];
let lastKnownCurrentTime = plyr.currentTime;
const setHtmlPageSeed = (seedLink) => {
$('source')[0].src = seedLink;
$('video')[0].src = seedLink;
plyr.play().then(() => {
plyr.currentTime = lastKnownCurrentTime;
});
};
const availableSeedArray = [
'seed111',
'seed132',
'seed122',
'seed167',
'seed126',
'seed171',
'seedp29xb',
'seed305',
'seed307',
'seed128',
'seed125',
'seed177',
'zb10-7gsop1v78'
];
let seedArrayCurrentPosition = 1;
const getNewRandomSeed = () => {
let _tempPosition = Math.floor(Math.random() * availableSeedArray.length);
if (_tempPosition === seedArrayCurrentPosition) {
if ((_tempPosition + 1) > (availableSeedArray.length - 1)) {
_tempPosition = 0;
} else {
_tempPosition += 1;
}
}
seedArrayCurrentPosition = _tempPosition;
return seedArrayCurrentPosition;
};
let newSeedVidLink = '';
const getSeedSourceFromSeedNo = (seedNo, vidLink) => {
if (!vidLink) {
vidLink = getHtmlPageVidLink();
}
if (!seedNo) {
seedNo = availableSeedArray[getNewRandomSeed()];
}
newSeedVidLink = `https://${seedNo}.bitchute.com/${vidLink}`;
setHtmlPageSeed(newSeedVidLink);
return newSeedVidLink;
};
getSeedSourceFromSeedNo();
})();
See if this code works (better/generated by Chatgpt Demo)