Announcement

Collapse
No announcement yet.

Embedded Video Attachments Player

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Paid Mod Embedded Video Attachments Player

    This is a vB5 mod that transforms existing video file attachments into an HTML5 Video player.

    Click image for larger version  Name:	video-player.png Views:	1 Size:	206.5 KB ID:	12140

    Click image for larger version  Name:	video-player-mobile.png Views:	1 Size:	78.3 KB ID:	12145


    Notes before purchasing this mod:
    • This is compatible with self-hosted version only. Though it's technically possible to implement a vBCloud version of this mod, the vBCloud server provided by vBulletin may not be powerful enough to handle large video uploads. If you are on vBCloud and interested in this mod, ask vBulletin support first if they allow this set up (see next notes).
    • Make sure your server has enough storage for uploaded videos.
    • Make sure your server has enough bandwidth for high data traffic due to large videos.
    • Make sure you can set Attachment Storage type to File System instead of Database.
    • Make sure your server is powerful enough to handle large video uploads.
    • Make sure that Max Post Size and PHP Maximum Upload Size values in PHP configuration are equal or greater than the Max File-size you set in the MP4 extension. Ask your host if you need help changing the PHP configuration.
    • Once you purchased this mod and downloaded it, you can no longer ask for a refund.

    Price 1:

    $50 (with vbmods.rocks branding in the footer)

    Buy Now Add to Cart View Cart

    Price 2:

    $75
    ($50 base price + $25 branding-free)

    Buy Now Add to Cart View Cart

    Need help or not comfortable installing this mod? Purchase the installation service below:

    Product Installation Add-On: $20
    Purchase this product add-on to get professional installation of this mod from us.

    Add to Cart View Cart


    Don't have a PayPal account yet or want to use a new account to purchase this mod? Sign up with PayPal now and get $5 reward!

    Want to pay using Credit/Debit Card? Contact us and we will send you an invoice where you can use your own card.



    Watch the demo video screencast from YouTube below.
    Last edited by glennrocksvb; 08-07-2018, 02:14 AM.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    #2
    Absolutely love it, exactly what I have been looking for! What are the file limitations?

    Comment


      #3
      You will need to add a new file extension mp4 in the Attachments Type Manager in AdminCP and set the Max file size option. You will also have to make sure that your server has large storage capacity and it can handle large file uploads by setting PHP Max Post Size and PHP Maximum Upload Size to values that are equal to (or greater than) the max file size you set. It is also highly recommended that you move your attachments from database to file system to avoid having very large database.
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #4
        Originally posted by glennrocksvb View Post
        You will need to add a new file extension mp4 in the Attachments Type Manager in AdminCP and set the Max file size option. You will also have to make sure that your server has large storage capacity and it can handle large file uploads by setting PHP Max Post Size and PHP Maximum Upload Size to values that are equal to (or greater than) the max file size you set. It is also highly recommended that you move your attachments from database to file system to avoid having very large database.
        Perfect, my settings are already set for this then! Thank you Glenn! I'm super excited that this will work on all the already posted video files without any kind of major time investment! I think this one has been a long time coming and anyone running a vb site will see great value in having this on board for their users.

        Comment


          #5
          We need a cloud version

          Comment


            #6
            Originally posted by Mitch View Post
            We need a cloud version
            Yes, it is also possible in vBCloud if they allow setting file attachment storage from database to file system. You may want to ask vBulletin staff first.
            Helpful? Donate. Thanks!
            Buy me a coffeePayPal QR Code
            Fast VPS Host for vBulletin:
            A2 Hosting & IONOS

            Comment


              #7
              Also ask them what the maximum values allowed for Max Post Size and PHP Maximum Upload Size
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


              • Mitch
                Mitch commented
                Editing a comment
                Asking that question will have to wait. I have to many pressing issues going on over there right now that are not getting resolved efficiently

              • glennrocksvb
                glennrocksvb commented
                Editing a comment
                When you login to AdminCP, what values do you see for Max Post Size and PHP Maximum Upload Size in the AdminCP homepage.

              #8
              PHP Max Post Size 20.00 MB
              PHP Maximum Upload Size 15.00 MB

              Comment


              • glennrocksvb
                glennrocksvb commented
                Editing a comment
                Ok. That's not enough for a single video upload. I have a 28-sec video on my phone and it is 78MB in size.

              • Mitch
                Mitch commented
                Editing a comment
                Ok thanks for looking into it

              #9
              keyla31 and to all those who are interested, this mod is now available!
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


              • keyla31
                keyla31 commented
                Editing a comment
                installed and working great - absolutely perfect

              #10
              I got reports that videos don't load and play on iOS devices. This was reported by X79 and I confirmed the issue with the help of keyla31 that even without this mod, the video still does not play when loading the video URL directly on iPad/iPhone. This confirms that this is a server issue and not a mod issue.

              Apparently, this is a widely known issue for iOS. I researched for this issue and found this.

              We have an MP4 video on our site; it plays fine in IE9+, Firefox, Chrome, and Chrome on mac. However, on Safari, the video doesn't play at all - it does trigger a "stalled" event and then nothing l...


              The top answer in that stackoverflow post says:

              Safari requires webserver to support "Range" request header in order to play your media content.

              https://developer.apple.com/library/...TP40006514-SW6

              For a legit "Range" request response, your webserve need to return status code "206".
              If you follow the developer.apple.com link posted, you will see this:

              Click image for larger version  Name:	image.png Views:	1 Size:	49.1 KB ID:	12432

              So the solution to this iOS issue is to configure the server to accept byte-range requests. I googled on how to do this and found this link for Apache server:

              https://serverfault.com/questions/39...-range-request

              You may need to contact your hosts to get assistance on how to configure the server to accept byte-range requests. This is outside the scope of this mod.

              Please let me know if you have any questions.

              Last edited by glennrocksvb; 08-27-2018, 08:49 AM.
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


                #11
                If you've confirmed with your host that the server is configured to accept byte-range request but the video is still not playing on iOS, then it might be a vBulletin issue. It will help if you can open a bug in the vBulletin bug tracker system. But I'm looking for a solution if this is the case.
                Helpful? Donate. Thanks!
                Buy me a coffeePayPal QR Code
                Fast VPS Host for vBulletin:
                A2 Hosting & IONOS

                Comment


                  #12
                  I reported this issue in the vB bug tracker.



                  Please vote for it!
                  Helpful? Donate. Thanks!
                  Buy me a coffeePayPal QR Code
                  Fast VPS Host for vBulletin:
                  A2 Hosting & IONOS

                  Comment


                    #13
                    I also posted in vbulletin.com about this issue to get more attention.

                    https://www.vbulletin.com/forum/foru...on-ios-devices

                    This is obviously outside the scope of this mod. But I will watch that bug report closely and will post an update here once vBulletin makes progress on fixing it.
                    Last edited by glennrocksvb; 08-27-2018, 08:51 AM.
                    Helpful? Donate. Thanks!
                    Buy me a coffeePayPal QR Code
                    Fast VPS Host for vBulletin:
                    A2 Hosting & IONOS

                    Comment


                      #14
                      Thanks keyla31 for posting the findings of your server admin in regards to the iOS issue to the vB ticket. His findings confirm it is a vBulletin issue and not a server issue (and not an issue on the mod too).
                      ​​​
                      "I ran it as requested:"

                      Code:
                      # curl -i -X HEAD --header "Range: bytes=50-100" https://www.domain.com/filedata/fetch?id=1186145
                      Code:
                      HTTP/1.1 200 OK
                      
                      Date: Mon, 27 Aug 2018 22:45:58 GMT
                      
                      Server: Apache/2.2.15 (CentOS)
                      
                      X-Powered-By: PHP/7.1.20
                      
                      Set-Cookie: bbsessionhash=xxxxxxxxxxxxx; path=/; secure; HttpOnly
                      
                      ETag: "312951"
                      
                      Accept-Ranges: bytes
                      
                      Content-transfer-encoding: binary
                      
                      Content-Length: 53053836
                      
                      Content-disposition: attachment; filename="My Movie3 (2).mp4"
                      
                      Cache-control: max-age=31536000, private
                      
                      Expires: Tue, 27 Aug 2019 22:45:59 GMT
                      
                      Pragma:
                      
                      Last-Modified: Mon, 27 Aug 2018 21:03:01 GMT
                      
                      Connection: keep-alive, close
                      
                      Content-Type: unknown/unknown
                      
                      curl: (18) transfer closed with 53053836 bytes remaining to read
                      "I then ran it using a direct .mp4:"

                      Code:
                      # curl -i -X HEAD --header "Range: bytes=50-100" https://www.domain.com/blog/wp-content/uploads/2017/07/sample_FB-21.mp4
                      
                      HTTP/1.1 206 Partial Content
                      
                      Date: Mon, 27 Aug 2018 22:47:47 GMT
                      
                      Server: Apache/2.2.15 (CentOS)
                      
                      Last-Modified: Fri, 28 Jul 2017 14:23:56 GMT
                      
                      ETag: "70e1f7c-3d201cd-555616e673700"
                      
                      Accept-Ranges: bytes
                      
                      Content-Length: 51
                      
                      Connection: keep-alive, close
                      
                      Content-Range: bytes 50-100/64094669
                      
                      Content-Type: video/mp4
                      
                      
                      curl: (18) transfer closed with 51 bytes remaining to read
                      "It works with direct .mp4, but not through the script. This tells me everything is setup on the server correctly."


                      For more details see this ticket: https://tracker.vbulletin.com/vbulle...3#comment_5919
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                      • keyla31
                        keyla31 commented
                        Editing a comment
                        Now let's sit back and hope Vbulletin addresses it.

                      #15
                      Update: vBulletin has updated the bug ticket I created for them and confirmed this is a vBulletin issue. They have assigned a vBulletin developer to fix this issue and have assigned a Fix Version which means this will be fixed in the upcoming vBulletin version. Not sure which version though. But it's good to know that this issue is being addressed sooner than I expected.

                      Click the link below to see more details of the ticket.



                      I've also attached a screenshot of the ticket below for quick reference.


                      Click image for larger version

Name:	image.png
Views:	272
Size:	680.4 KB
ID:	12588
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                      • keyla31
                        keyla31 commented
                        Editing a comment
                        This is great, at least we know its in progress

                    Users Viewing This Page

                    Collapse

                    There is 1 user viewing this forum topic.

                    • Guest Guest

                    Latest Posts

                    Collapse

                    Working...
                    X
                    Searching...Please wait.
                    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                    Please push the back button and reload the previous window.'
                    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                    Please push the back button and reload the previous window.'
                    An internal error has occurred and the module cannot be displayed.
                    There are no results that meet this criteria.
                    Search Result for "|||"