AirenSoft / OvenPlayer

OvenPlayer is JavaScript-based LLHLS and WebRTC Player for OvenMediaEngine.
https://airensoft.com/ome.html
MIT License
515 stars 126 forks source link

Embedded Player #125

Closed enigmathion closed 4 years ago

enigmathion commented 4 years ago

Good morning, I tell you that I have a problem with OvenPlayer. I downloaded the OvenPlayer from this site and unzipped it, there are several files and folders and almost all have examples of video playback and only one with example of streaming (oem_player) but when changing the addresses it does not contact! Can someone tell me what else I should do? I only need the video frame to embed on my website!

SangwonOh commented 4 years ago

@enigmathion Hi. Can I get some informations belows?

  1. What is the url of your page that you are testing like?

  2. What protocol do you use at your page? Is that a http or a https?

  3. Do you see any error on Network debugging panel (Chrome developer tool)?

enigmathion commented 4 years ago

The application works perfect, that is not a problem, the problem I have is that I cannot find the file that I must leave with the frame to embed it on my website, only the video! As I show in the picture! Anotación 2020-06-09 225619

SangwonOh commented 4 years ago

Please follow the basic instruction from https://airensoft.gitbook.io/ovenplayer/

And simplest code you can write on your page is https://airensoft.gitbook.io/ovenplayer/#starter-template. This will show only player.

enigmathion commented 4 years ago

Great, thanks so much for your reply. But I am still having problems with the player. I was able to embed it but there is no image, it throws a network error from what I understand! Although if I enter from another site it looks perfect! I throw the links!

Player: http://lacostafm.com.ar/OvenPlayer/ Embedded Player: http://lacostafm.com.ar/

The code I am using: <! doctype html>

OvenPlayer For OME

What am I missing? Thank you!

SangwonOh commented 4 years ago

Ok. At Embedded Player: http://lacostafm.com.ar/. Please check the path of the ovenplayer is

<script src="http://lacostafm.com.ar/OvenPlayer/dist/production/ovenplayer/ovenplayer.js"></script>

Additionally you don't need to import these scripts. These script is used for OvenPlayer demo page.

enigmathion commented 4 years ago

Thank you very much, in the previous comment put the route, it is the same as you indicate, I copy it again to corroborate!

`<!doctype html>

OvenPlayer For OME
`
SangwonOh commented 4 years ago

@enigmathion Does everything go alright? Then please close this issue.

enigmathion commented 4 years ago

Yes, everything works fine, it seemed that inside ovenplayer.js there is a statement that points to another .js from the same folder, I still couldn't figure out which one and leave them all. Thank you very much for your help! I close this thread!