Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 549
  • Last Modified:

i want to embed a player in html/php page

I want to embed either a JMF/VLC player in a html/php page which is possible to record the RTP streaming input. suggest me how to proceed?
0
Sumanbabu
Asked:
Sumanbabu
  • 2
1 Solution
 
fiboCommented:
Not sure what you are asking for; the player? the code?

Assuming it is code:
- You need to keep in mind that the php script will run on the server and generate some html/ javascript code which will be sent to the client where it will display and run any javascript.
- Then you "just" need php to generate the html code for your player, usually by preparing a string that you then echo.
If the string is long, you might want to use the "heredoc" syntax see http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

Remember that strings between double quotes or heredocs are "run", ie $variables are replaced by their values
0
 
SumanbabuAuthor Commented:
I am looking for the code samples to embed the JMF ( media player ) in the html page, which should be able to capture the streaming and save it on the local disk.

0
 
cyberhiteshCommented:
You should be using embed and object tag for embedding any player on html page.

Check out:http://kb2.adobe.com/cps/415/tn_4150.html

Embed VLC on HTML:
http://forum.videolan.org/viewtopic.php?f=16&t=40727
0
 
SumanbabuAuthor Commented:
I know I have to use HTML tags, even I could able to play the video from a file but not RTP streaming
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now