Simon Beer Posted December 10, 2021 Share Posted December 10, 2021 Having real difficulty with changing this to a logo in the play.html file, are there simple (like me), instructions I can follow to change the code to display an image, please? Link to comment Share on other sites More sharing options...
0 Yash Posted December 10, 2021 Share Posted December 10, 2021 Hi Simon, Hope you are doing well. Please check this issue as one of my colleague shared the solution for it. Regards, Yash Link to comment Share on other sites More sharing options...
0 Rice Plain Posted December 10, 2021 Share Posted December 10, 2021 hello how to get hls/rtmp at antmedia server ? i need 250 viewers a day 9am to am i stream Link to comment Share on other sites More sharing options...
0 Mohit Posted December 10, 2021 Share Posted December 10, 2021 Hi, You can publish the RTMP stream using encoders like OBS,vMIX, Wirecast, etc. https://github.com/ant-media/Ant-Media-Server/wiki/Open-Broadcaster-Software-Publishing For HLS play the sample URL will be like https://your_domain_name:5443/WebRTCAppEE/play.html?name=streamId&playOrder=hls -- Best Regards, Mohit Dubey Link to comment Share on other sites More sharing options...
0 Simon Beer Posted December 10, 2021 Author Share Posted December 10, 2021 Thanks Yash, works a treat. Last question for now, I promise. How can I centre the logo and make it's size smaller? Many, many thanks! Link to comment Share on other sites More sharing options...
0 Yash Posted December 10, 2021 Share Posted December 10, 2021 Hi Simon, You can use the height and width parameter like below to resize the image as per your requirement <img id="logo" src="images/play.png" width="100" height"100" ></image> And to make it in the center you can edit /usr/local/antmedia/webapps/your-app/css/player.css file and adjust the top and left margin in video_info id I hope it helps. Regards, Yash Link to comment Share on other sites More sharing options...
Question
Simon Beer
Link to comment
Share on other sites
Top Posters For This Question
2
2
1
1
Popular Days
Dec 10
6
Top Posters For This Question
Yash 2 posts
Simon Beer 2 posts
Mohit 1 post
Rice Plain 1 post
Popular Days
Dec 10 2021
6 posts
5 answers to this question
Recommended Posts