This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head><title>AAMP playback in WPE browser using UVE APIs</title></head> | |
<script> | |
let url = "https://g004-vod-us-cmaf-prd-cf.cdn.peacocktv.com/pub/global/evh/Xa0/PCK_1664984712313.613_01/cmaf/mpeg_cenc/master_cmaf.m3u8?c3.ri=3779169266227869059"; | |
let defaultConfig = { | |
asyncTune: false, | |
downloadStallTimeout: 5, | |
downloadStartTimeout: 3, | |
manifestTimeout: 1.0, | |
useRetuneForUnpairedDiscontinuity: true, | |
playlistTimeout: 10, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://developer.rdkcentral.com/documentation/documentation/rdk_video_documentation/rdk-v_components/rdk-v_open-sourced_components/advanced_adaptive_media_player_aamp/aamp_app_integration_universal_video_engine_uve_apis/ --> | |
<html><head><title>AAMP playback in WPE browser using UVE APIs</title></head> | |
<script> | |
var url = "http://d3rlna7iyyu8wu.cloudfront.net/skip_armstrong/skip_armstrong_multi_language_subs.m3u8"; | |
window.onload = function() { | |
var player = new AAMPMediaPlayer(); | |
player.load(url); | |
} | |
</script> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Git Bash | |
https://git-scm.com/download/win | |
Install Vscode | |
https://code.visualstudio.com/download | |
In vscode open a terminal via then menu click the down arrow next to the plus and click Select Default Profile -> Then select Git Bash | |
Install NVM via Git Bash in vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SetTitleMatchMode, 1 | |
I_Icon = C:\Program Files\AutoHotkey\Letter Icons\paste.ico | |
ICON [I_Icon] ;Changes a compiled script's icon (.exe) | |
if I_Icon <> | |
IfExist, %I_Icon% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Finds youtube and vimeo links in code and converts to iframes css below for 16/9 | |
/* | |
.iframe-wrapper { | |
position: relative; | |
width: 100%; | |
height: 0; | |
padding-bottom: 56.25%; | |
margin: 20px 0; | |
} | |
.iframe-wrapper iframe { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var timeout; | |
document.getElementById('link').addEventListener('click', function(e) { | |
timeout = window.setTimeout(function() { | |
alert('install app'); | |
}, 1000); | |
window.location = "app://"; | |
e.preventDefault(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DRMFairplay.swift | |
// Collection | |
// | |
// Created by B0203948 on 04/02/20. | |
// Copyright © 2020 wynk. All rights reserved. | |
// | |
import UIKit | |
import AVFoundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="https://cdn.jsdelivr.net/momentjs/2.14.1/moment-with-locales.min.js"></script> | |
<style id="jsbin-css"> | |
#timeline { | |
width: 1000px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
Getting help: | |
-h — print basic options | |
-h long — print more options | |
-h full — print all options (including all format and codec specific options, very long) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Resources": { | |
"MediaLive": { | |
"Type": "AWS::MediaLive::Channel", | |
"Properties": { | |
"Name" : { | |
"Fn::Sub": "${AWS::StackName}-Channel" | |
}, | |
"ChannelClass": "SINGLE_PIPELINE", | |
"RoleArn": "arn:aws:iam::422423811642:role/Media_Live_Role", |
NewerOlder