I hereby claim:
- I am mister-ben on github.
- I am misterben (https://keybase.io/misterben) on keybase.
- I have a public key ASAM2JS8dWiWoQctIuWnnjZzMWSRgWqh-LZnrZ9eS25ljAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<div id="container"></div> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-with-addons.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-dom.js"></script> | |
<script src="//players.brightcove.net/906043040001/default_default/index.js"> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="Subtle skin"> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<link href='http://fonts.googleapis.com/css?family=Comfortaa:300' rel='stylesheet' type='text/css'> | |
<style id="jsbin-css"> | |
/*Player size*/ | |
.video-js { |
<?php | |
// Brightcove sample for MRSS feed | |
// This is just a sample to get you started. You can customize further as your requirements | |
// grow. | |
// The following is a list of requirements and conditions in order for this podcast feed | |
// to function properly; | |
// 1) You must have a Pro or Enterprise level Video Cloud Account. | |
// 2) You will need to contact Brightcove Support to request an API READ Token with URL | |
// access, if you don't have one already. |
(function() { | |
function onPlayerReady() { | |
var overlay = videoPlayer.overlay(); | |
$(overlay).html('<img id="overlaylogo" src="http://cs1.brightcodes.net/ben/img/genericlogo.png" />').css({ | |
position:"fixed", | |
height:"100%", | |
width:"100%" | |
}); | |
$("#overlaylogo").css({ |
/* | |
Exits from iOS fullscreen on stop / pause | |
*/ | |
(function() { | |
function onPlayerReady() { | |
videoPlayer.addEventListener(brightcove.api.events.MediaEvent.STOP, function(event){ | |
$("video")[0].webkitExitFullScreen(); |
#!/usr/bin/osascript | |
tell application "System Events" to set the autohide of the dock preferences to true |
#!/usr/bin/env ruby | |
# Creates a video sitemap following this spec https://support.google.com/webmasters/answer/80472?hl=en | |
# | |
# This is a proof of concept that shows mapping Media API output to the sitemap fields. It produces a | |
# sitemap listing every video in a Video Cloud account, and the page URLs are all the same page with | |
# a varying bctid URL parameter. This would instruct a video player at that page to load that | |
# particular video. For production use you would probably take a different approach - e.g. for | |
# each URL you list in your regular sitemap you'd want to look up and add the details of the video | |
# that's published there. |