running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
// Override Ninja Forms v3.6.1+ submissions page and make select list to redirect to post editor | |
function override_nf_submissions() { | |
if (is_admin() && !defined( 'DOING_AJAX' ) && $_GET['page'] == "nf-submissions") { | |
if (is_numeric($_GET['form_id'])) header("Location: edit.php?post_status=all&post_type=nf_sub&form_id=".$_GET['form_id']."&nf_form_filter&paged=1"); | |
?> | |
<script> | |
jQuery(function($) { | |
$('#inspector-select-control-0').replaceWith($('#inspector-select-control-0').clone()); | |
$('#nf-submissions-element > div > div.tablenav.top > div > div.nf_form_filter_container').remove(); | |
$(document).on('change','#inspector-select-control-0', function(e) { |
/* | |
These are breakpoints utilized with lightSlider (http://sachinchoolur.github.io/lightslider/) and Bootstrap framework. | |
Note: lightSlider doesn't seem to account for scrollbar wideth in the breakpoint value. | |
*/ | |
responsive : [ | |
{ | |
breakpoint:1383, /* lightslider is 17px (scrollbar width) less than actual window size */ | |
settings: { | |
item:5 |