Embed a vlc in a webpage
khouloudt
Posted messages
12
Registration date
Status
Member
Last intervention
-
ElementW Posted messages 5690 Status Contributor -
ElementW Posted messages 5690 Status Contributor -
Bonjour,
Please, could you help me integrate a VLC player into a web page using PHP???
Please, could you help me integrate a VLC player into a web page using PHP???
1 answer
-
Here's something that can help you
Visual Basic is good, but only in the beginning. C++ wins everything.-
-
PHP is server-side. PHP produces HTML. Here you have the documentation on "how to integrate the VLC plugin with HTML."
But, one more thing: avoid plugins. HTML5 is becoming more widely known and used, plugins are becoming obsolete as it evolves: use the <video> tag! -
-
I don’t have a link, but I have a piece of code to suggest:
<?php echo sprintf('<embed type="application/x-vlc-plugin" name="video" autoplay="no" loop="no" target="%s" />', "http://le.chemin.de/votre/fichier.video.avi"); ?>
Next time, without wanting to offend you, look a bit more: a (web) program is built from multiple pieces of code, and knowing how to program is knowing how to assemble them. (Moreover, you don't seem to understand well the relationship between PHP and HTML, this tutorial page from Site Du Zéro explains it).
-