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
#include <wasm_simd128.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
static void print_v8(char *name, __u16x8 v) { \ | |
printf("%s: {%u, %u, %u, %u, %u, %u, %u, %u}\n", name, | |
v[0], v[1], v[2], v[3], v[4], v[5], v[6], v[7]); | |
} |
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> | |
<title>Upload video to your form endpoint</title> | |
<script type="text/javascript" src="https://api.clipchamp.com/...YOUR_API_KEY.../button.js"></script> | |
</head> | |
<body> | |
<form> | |
<p> |
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> | |
<title>Upload video to your form endpoint</title> | |
<script type="text/javascript" src="https://api.clipchamp.com/...YOUR_API_KEY.../button.js"></script> | |
</head> | |
<body> | |
<form enctype="multipart/form-data" method="POST" action="...YOUR_FORM_ENDPOINT..."> | |
<p> |
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> | |
<title>Simple YouTube video upload and playback</title> | |
<script src="https://api.clipchamp.com/YOUR_API_KEY/button.js"></script> | |
</head> | |
<body> | |
<div id="upload">Please wait...</div> |
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> | |
<title>Simple YouTube video upload and playback</title> | |
<script src="https://api.clipchamp.com/YOUR_API_KEY/button.js"></script> | |
</head> | |
<body> | |
<div id="upload">Please wait...</div> | |
<div id="player">Video will play back here.</div> |
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> | |
<script src="https://api.clipchamp.com/YOUR_API_KEY/button.js"></script> | |
</head> | |
<body> | |
<div id="clipchamp_wrapper">Please wait...</div> | |
<script> | |
clipchamp(document.getElementById('clipchamp_wrapper'), { | |
output: 'youtube', // or 's3', 'azure', 'dropbox', 'gdrive', 'blob' | |
onUploadComplete: function(data) { |
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 playerDiv = document.createElement('div'); | |
document.body.appendChild(playerDiv); | |
var process = clipchamp({ | |
output: 'youtube', | |
style: { | |
url: "https://api.test.clipchamp.com/static/button/themes/modern-light.css" | |
}, | |
inputs: ['camera'], | |
enable: ['no-user-retry', 'no-thank-you', 'no-branding'], |
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 playerDiv = document.createElement('div'); | |
document.body.appendChild(playerDiv); | |
clipchamp(document.getElementById('clipchamp-button'), { | |
output: 'youtube', | |
style: { | |
url: "https://api.test.clipchamp.com/static/button/themes/modern-light.css" | |
}, | |
inputs: ['camera'], | |
enable: ['no-user-retry', 'no-thank-you'], |
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
clipchamp(document.getElementById('clipchamp-button'), { | |
output: 'youtube', | |
style: { | |
url: "https://api.clipchamp.com/static/button/themes/modern-dark.css" | |
}, | |
inputs: ['camera'], | |
enable: ['no-user-retry'], | |
camera: { | |
limit: 120 | |
}, |
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> | |
<script type= "text/javascript" src= "https://api.clipchamp.com/YOUR_API_KEY/button.js"></script> | |
</head> | |
<body> | |
<div id="clipchamp-button"></div> |
NewerOlder