
Recherche avancée
Autres articles (111)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (18313)
-
lavu : Document the color properties enumeration values origin
1er décembre 2016, par Vittorio Giovara -
options_table : Add aliases for color properties
21 juin 2016, par Vittorio Giovara -
Video decoding by the online player [closed]
10 janvier 2024, par rahkarenovinI encoded my videos with 32-bit ffmpeg.


I want the video player to decode and then display the video when the user buys it.


My problem :
I don't know how to decode the video so that the player can display it


My player code :


<div class="grid">
 <main>
 <div>
 
 
 </div>
 </main>
</div>

<code class="echappe-js"><script&#xA; type="text/javascript"&#xA; src="https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,Math.trunc"&#xA; crossorigin="anonymous"&#xA;></script>


<script type="text/javascript" src="https://cdn.plyr.io/3.5.2/plyr.js"></script>


<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>


<script>&#xA; const source = &#x27;https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8&#x27;;&#xA; const player = new Plyr(&#x27;#player&#x27;);&#xA; var video = document.getElementById(&#x27;player&#x27;);&#xA; if(Hls.isSupported()) {&#xA; var hls = new Hls();&#xA; hls.loadSource(source);&#xA; hls.attachMedia(video);&#xA; hls.on(Hls.Events.MANIFEST_PARSED,function() {&#xA; video.play();&#xA; });&#xA; }else if (video.canPlayType(&#x27;application/vnd.apple.mpegurl&#x27;)) {&#xA; video.src = source;&#xA; video.addEventListener(&#x27;loadedmetadata&#x27;,function() {&#xA; video.play();&#xA; });&#xA; }&#xA;</script>