Bonjour,
J'ai des videos qui ne sont pas supportés lors de l'affichage en video tag:
Le code en affiche une erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 <?php echo '<video width="'.$width.'" height="'.$height.'" poster="'.$video_pic.'" style="display: block;" controls autoplay>'; echo '<source src="'.$mp4_file.'" type="video/mp4">'; //echo '<source src="movie.ogg" type="video/ogg">'; echo $videoNotSupported; echo '</video>'; ?>
Le problème persiste en FireFox, j'ai la version 43.0.4
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 No Video with Supported Format and Mime Type Found
Aucun problème avec Chrome: Version 47.0.2526.106 (64-bit)
Aucun problème avec Safari: Version 9.0.2 (11601.3.9)
Voici les informations de la vidéo:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 File: /Users/fred/Desktop/video.mp4 Size: 13.3 MB Format: QuickTime/MPEG-4/Motion JPEG 2000 format Stream count: 2 Duration: 00:05:16 Bit rate: 353 kb/s Meta info: compatible_brands: isom minor_version: 1 creation_time: 2016-01-24 13:18:43 major_brand: isom Stream 0 Type: video Codec: h264 Codec profile: Main FourCC: avc1 Duration: 00:05:16 Width: 480 Height: 300 Sample aspect ratio: 1:1 Display aspect ratio: 8:5 Pixel format: yuv420p Frame rate: 25 fps Bit rate: 150 kb/s Meta info: handler_name: VideoHandler creation_time: 2013-12-22 17:11:29 language: und Stream 1 Type: audio Codec: aac FourCC: mp4a Duration: 00:05:16 Bit rate: 200 kb/s Sample rate: 44100 Hz Sample format: s16 Channel: 2 Meta info: handler_name: GPAC ISO Audio Handler creation_time: 2016-01-24 13:18:43 language: und
Merci d'avance
Partager