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
const tus = require("tus-js-client") | |
document.getElementById('tus-video-input').addEventListener('change', function(e) { | |
var file = e.target.files[0] | |
var xhr = new XMLHttpRequest() | |
console.log(file); | |
xhr.open('POST', `${videoUploaderConfig.CloudflareEndpoint}/accounts/${videoUploaderConfig.CloudflareApiAccount}/stream`, true) |
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
<?php echo esc_url( wp_get_attachment_image_src( IMAGE_ID_SOURCE, 'large' )[0] ) ?> |
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
// Variables | |
// | |
// Variables should follow the `$component-state-property-size` formula for | |
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs. | |
// | |
// Color system | |
// |