Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
in template_preprocess_videojs, line 21 of videojs.theme.js, I have replaced video/flv => video/x-flv to have an array like this :
<?php
$codecs = array(
'video/mp4' => 'video/mp4',
'video/webm' => 'video/webm',
'application/octet-stream' => 'video/webm',
'video/ogg' => 'video/ogg',
'application/ogg' => 'video/ogg',
'video/quicktime' => 'video/mp4',
'video/flv' => 'video/flv',
// HERE
'video/x-flv' => 'video/flv',
);
?>
Because of this line, flv playback doesn't work for me.
Comments
Comment #1
Jorrit CreditAttribution: Jorrit commentedThis has already been reported and fixed. Your fix is indeed correct.
See #1437216: video/flv files are skipped, wrong $codecs array and http://drupalcode.org/project/videojs.git/blobdiff/e223d9c5094eb89ad33c3...
Comment #1.0
Jorrit CreditAttribution: Jorrit commentedstrong...