Embed a vlc in a webpage

khouloudt Posted messages 12 Registration date   Status Member Last intervention   -  
ElementW Posted messages 5690 Status Contributor -
Bonjour,

Please, could you help me integrate a VLC player into a web page using PHP???

1 answer

ElementW Posted messages 5690 Status Contributor 1 293
 
Here's something that can help you
Visual Basic is good, but only in the beginning. C++ wins everything.
0
khouloudt Posted messages 12 Registration date   Status Member Last intervention   1
 
I work with PHP.
0
ElementW Posted messages 5690 Status Contributor 1 293
 
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!
0
khouloudt Posted messages 12 Registration date   Status Member Last intervention   1
 
Do you have a link that can help me?
0
ElementW Posted messages 5690 Status Contributor 1 293
 
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).
0