This file contains hidden or 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> | |
<title></title> | |
<style> | |
button { | |
display: block; | |
width: 100px; | |
height: 100px; | |
} |
This file contains hidden or 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> | |
<title>BC-31070</title> | |
</head> | |
<body> | |
<script type="text/javascript" src="http://DLaPalomento-Mac.vidmark.local:8080/cdn/js/BrightcoveExperiences.js"></script> | |
<object id="myExperience" class="BrightcoveExperience"> | |
<param name="bgcolor" value="#FFFFFF" /> |
This file contains hidden or 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
/** | |
* Check out http://craig.is/killing/mice for another project that is describing dependencies between async tasks. | |
*/ | |
- (void)setupSetVideoListener | |
{ | |
BCFlowChain *chain = [BCFlowChain chain]; | |
setVideoListener = [emitter on:BCEventSetVideo callBlock:^(BCEvent *setVideoEvent){ | |
[chain reset]; | |
[chain abortOn:BCEventSetVideo]; | |
[chain emit:BCEventShouldSetVideo]; |
This file contains hidden or 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
- (void)setupSetVideoListener | |
{ | |
[emitter on:BCEventSetVideo doChain:^(BCEvent *setVideoEvent, BCEventEmitterChain *chain){ | |
BCVideo *video = [setVideoEvent.details objectForKey:@"video"]; | |
[chain abortOn:BCEventSetVideo]; | |
[chain emit:BCEventShouldSetVideo]; |