Skip to content

Instantly share code, notes, and snippets.

bitmovinplayer-engine-bitmovin.js:14 Uncaught TypeError: Cannot read property 'SegmentList' of undefined
at e.isManifestFetchRequired (bitmovinplayer-engine-bitmovin.js:14)
at _0x1C14E._0x1BD02 [as estimateDownloadDuration] (bitmovinplayer-abr.js:11)
at _0x1C14E._0x1BD34 [as isDownloadFeasible] (bitmovinplayer-abr.js:11)
at _0x1B7BC (bitmovinplayer-abr.js:11)
at Array.filter (<anonymous>)
at _0x1C14E._0x1BE2E [as handleDownloadDuration] (bitmovinplayer-abr.js:11)
at _0x1C14E._0x1BE60 [as selectRepresentation] (bitmovinplayer-abr.js:11)
at _0x1C14E._0x1BE92 [as getRepresentationID] (bitmovinplayer-abr.js:11)
at _0x1BE2E._0x1B7BC [as getRepresentationID] (bitmovinplayer-abr.js:11)
Index: modules/tvthek/storyserver/Content/tvthek.skin
===================================================================
--- modules/tvthek/storyserver/Content/tvthek.skin (revision 57617)
+++ modules/tvthek/storyserver/Content/tvthek.skin (working copy)
@@ -1,6 +1,7 @@
<div class="video tvthek" data-tvthek-segment="<% param.id %>"
data-tvthek-jump-mark="<% param.jumpMark %>"
data-loadingmessage="Video wird geladen&hellip;"
+ <% param.title prefix="data-title=\"" suffix="\"" | typograph | escapeHtml %>
data-disable-ads="<% param.disableAds | boolean true="true" false=<% story.isBannerActive failmode="silent" | boolean true="false" false="true" %> %>"
this.isAdRunning = false;
this.hasContentEnded = false;
this.on('adbreakstarted', () => {
this.isAdRunning = true;
});
this.on('timechanged', () => {
const diff = this.getDuration() - this.getCurrentTime();
if (this.hasContentEnded == false && this.isAd() == false && diff < 1) {
this.hasContentEnded = true;
{
title: {
text: '',
font: {
family: 'ORF ON Condensed',
size: 22,
weight: 700
},
},
xaxis: {
class HlsWrapper {
constructor({element, url, startTime, context}) {
this.hls = new Hls({
debug: false,
autoStartLoad: false
});
const analyticsConfig = getAnalyticsConfig(context);
if (analyticsConfig) {
this.analytics = new HlsAdapter({
debug: false,
@oberhamsi
oberhamsi / fpv-encode.sh
Last active April 28, 2019 11:16
hls encoder for no-audio analog-source video low resolution
#!/bin/bash
# https://ffmpeg.org/ffmpeg-formats.html#Options-5
AVIN="$1"
OUTNAME="$2"
mkdir $OUTNAME
ffmpeg -i $AVIN \
-an \
-c:v libx264 -profile:v main -level 4.1 -pix_fmt yuv420p \
#!/usr/bin/python
# source: http://mapnik-users.berlios.narkive.com/pN0x8SPC/animation-examples#post3
from mapnik import *
import math, sys, os
if __name__ == "__main__":
try:
mapfile = os.environ['MAPNIK_MAP_FILE']
except KeyError:
function recurseIframes(doc, iframes) {
let newIframes = doc.querySelectorAll('iframe');
if (newIframes.length > 0) {
iframes.push.apply(iframes, newIframes);
newIframes.forEach(iframe => {
recurseIframes(iframe, iframes);
})
}
return iframes;
}
const subprocess = require('ringo/subprocess');
const fs = require('fs');
const system = require('system');
const twitter = require('twitter-api');
// your twitter credentials here
const twitterConfig = {
token: '',
tokenSecret: '',
$icon-color: #8297BD;
$hover-icon-color: #B5CEFF;
$progress-bar-color: #8297BD;
$controls-background: rgba(0,0,0,0.7);
$text-color: white;
.oonmedia-video .oonmedia-controls {
background-color: $controls-background;
> * {