Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shaka Player Update #157

Open
zukeks opened this issue Mar 12, 2025 · 4 comments
Open

Shaka Player Update #157

zukeks opened this issue Mar 12, 2025 · 4 comments

Comments

@zukeks
Copy link

zukeks commented Mar 12, 2025

Environment

  • oplayer/core: // version
  • oplayer/ui: // version
  • oplayer/hls: // version
  • oplayer/dash: // version
  • platform: // IOS 11, Android 13, etc.
  • browser: // chrome 108.0.5359.124, etc.

🐛 Bug Report

Hope you are good , been using your "shaka player" package but seems it is outdated , "dash.js" is great but in some instances it is not good as shaka player , would you be kind to updaate the package , as it states for now with lastest shaka player update you have with oplayer it works , but some functions are not okey implemented as ui insertion and ect

@shiyiya shiyiya mentioned this issue Mar 16, 2025
@shiyiya
Copy link
Owner

shiyiya commented Mar 16, 2025

@zukeks
Copy link
Author

zukeks commented Mar 16, 2025

try on https://oplayer-git-shaka-shiyiyas-projects.vercel.app/

Great , will do , also one thing I have notice "LIVE" it has 483930:22:00 / --:-- , timestamp , anyway it can be "LIVE" and if user seeks in past playlist "if it has ofc" , to be implemented "BACK TO LIVE" button on click will seek to live time

@shiyiya
Copy link
Owner

shiyiya commented Mar 17, 2025

<script src="https://cdn.jsdelivr.net/npm/@oplayer/core@latest/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@oplayer/[email protected]/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@oplayer/[email protected]/dist/index.min.js"></script>

<div id="oplayer" />

<script>
 window.player= OPlayer.make('#oplayer', {
    isLive: true,
    source: {
      src: 'https://bpcdnmanprod.nexttv.ht.hr/bpk-tv/HRT1/default/index.mpd',
      poster: 'https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/poster.png'
    }
  })
    .use([
      OUI(),
      OShaka({
        library: 'https://cdn.jsdelivr.net/npm/[email protected]/dist/shaka-player.compiled.min.js'
      })
    ])
    .create()
</script>

@shiyiya shiyiya reopened this Mar 17, 2025
@zukeks
Copy link
Author

zukeks commented Mar 17, 2025

Great , it did exacly what it was asked , also quick edit , the "LIVE" text should not always stay like that , if user stopes pauses video , and then if he resumes "LIVE" should be changed to like "BACK TO LIVE" so user knows that button has function to return to current live feed range

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants