Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved v5 has issues playing videos

    PeerTube
    3
    15
    143
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdaviescoates
      jdaviescoates last edited by nebulon

      https://framablog.org/2022/12/13/peertube-v5-the-result-of-5-years-handcrafting/

      https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md

      https://github.com/Chocobozzz/PeerTube/releases/tag/v5.0.0

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        I am working on the package since yesterday, the release needs some manual migration scripts to be run, so please be patient.

        jdaviescoates S 2 Replies Last reply Reply Quote 2
        • jdaviescoates
          jdaviescoates @nebulon last edited by jdaviescoates

          @nebulon oh, I'm very patient. To be clear this wasn't an "oi, where is v5 Cloudron team?!?!", it was just for general knowledge and info 🙂

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply Reply Quote 1
          • S
            stevespaw @nebulon last edited by

            @nebulon
            Thanks for getting this out so quickly!
            I have a system that I upgraded (working great 4.3.1), and - a brand new install from scratch, both have that same issue. No video players appear. something is missing.....

            Thanks again

            jdaviescoates 1 Reply Last reply Reply Quote 1
            • jdaviescoates
              jdaviescoates @stevespaw last edited by

              @stevespaw I also upgraded but because I'm not really using it yet I hadn't checked, but can confirm.

              This video played fine before upgrading to v5, but now doesn't

              https://video.uniteddiversity.coop/w/9346Si65wcjFCRuGWquPEz

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                Are there any logs anywhere which may indicate codec issues with v5?

                jdaviescoates 1 Reply Last reply Reply Quote 0
                • jdaviescoates
                  jdaviescoates @nebulon last edited by jdaviescoates

                  @nebulon I see this error in mozilla console

                  Unhandled Promise rejection: JSON.parse: unexpected character at line 1 column 1 of the JSON data ; Zone: <root> ; Task: Promise.then ; Value: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data <empty string>
                  

                  d9847266-fe8f-458f-9a1d-6b81ebccaa9f-image.png

                  Clicking on the blue text on right to view the source in debugger:

                  console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);
                  

                  Also see these warnings:

                  Source map error: Error: request failed with status 404
                  Resource URL: https://video.uniteddiversity.coop/plugins/transcription/1.9.0/client-scripts/dist/client/index.js
                  Source Map URL: index.js.map
                  
                  Source map error: Error: NetworkError when attempting to fetch resource.
                  Resource URL: moz-extension://6d0c9912-3a4c-4867-9833-a0d2461617a4/model/static/DOMPurify/purify.min.js
                  Source Map URL: purify.min.js.map
                  
                  Source map error: Error: request failed with status 404
                  Resource URL: https://video.uniteddiversity.coop/plugins/tv-streaming/1.1.4/client-scripts/dist/common-client-plugin.js
                  Source Map URL: common-client-plugin.js.map
                  
                  Source map error: Error: request failed with status 404
                  Resource URL: https://video.uniteddiversity.coop/plugins/transcription/1.9.0/client-scripts/dist/client/index.js
                  Source Map URL: index.js.map
                  

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply Reply Quote 0
                  • nebulon
                    nebulon Staff last edited by

                    The sourcemap errors are expected. For the other problem, this either indicates an upstream regression/bug or maybe some other resources failed to load or were blocked by some privacy extension in your browser?

                    jdaviescoates S 2 Replies Last reply Reply Quote 0
                    • jdaviescoates
                      jdaviescoates @nebulon last edited by

                      @nebulon well, it played fine before and also doesn't play in vanilla Chrome with zero plugins

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply Reply Quote 0
                      • S
                        stevespaw @nebulon last edited by

                        @nebulon This issue is that, the whole player itself is not loading. The player area is just blank.

                        1 Reply Last reply Reply Quote 0
                        • nebulon
                          nebulon Staff last edited by

                          At least with newly installed peertube instance, I can't reproduce this issue.
                          Is this happening only with videos which were uploaded on v4 or all videos?

                          S 2 Replies Last reply Reply Quote 0
                          • Topic has been marked as a question  nebulon nebulon 
                          • S
                            stevespaw @nebulon last edited by

                            @nebulon I did a brand new install of Cloudron and Peertube on Friday from scratch. Uploaded one video and had the issue. I then updated a working install and the same thing happened. No Video player appears. The Video is in the library and shows a thumbnail, but when you select it the metadata at is there and looks normal, but no Video Player. No error message.
                            I was waiting on the v5 and a new clean install to demo to a client.

                            S 1 Reply Last reply Reply Quote 1
                            • S
                              stevespaw @stevespaw last edited by

                              @stevespaw abb20ca7-eae7-49e0-84eb-bcff45a5b90c-image.png

                              1 Reply Last reply Reply Quote 1
                              • S
                                stevespaw @nebulon last edited by

                                @nebulon OK I am sorry - I should have check plug-in issues. I seems that a plugin (that I always have installed) seems to be the issue. f9449336-89f4-435f-8ac7-5f8de2ef5381-image.png .
                                I can confirm that uninstalling that plugin also fixed my upgraded system.

                                Thanks for your support!

                                1 Reply Last reply Reply Quote 1
                                • nebulon
                                  nebulon Staff last edited by

                                  Glad it got sorted out. Those plugins in so many apps are often at fault unfortunately as many apps under much development keep changing their internals and plugin interfaces.

                                  1 Reply Last reply Reply Quote 1
                                  • Topic has been marked as solved  nebulon nebulon 
                                  • First post
                                    Last post
                                  Powered by NodeBB