Error when altering a library

First let me walk you through what happened. I downloaded the interactive video library and used it for wordpress and it worked just fine. In attempts to add on to it, I first decided to try creating a simple H5P library, such as the Hello World! tutorial. After creating it following the step by step instructions, it allowed me to put the library on my website, but when I tried to create with type "Greeting Card" it just gave me a blank page. Then I realized there were updated versions of it of patch 1.3, and so I copied the files and it worked. (** when i convert folders to .zip , I also remove DS_Store, hence GreetingCard1.3 works fine)

Now, I want to change the name of the library to H5P.BranchVideo, instead of H5P.GreetingCard. I changed the library.json file's machine name to "H5P.BranchVideo", and also change the javascript file to have H5P.BranchVideo on line 3. I did not change anything else to avoid mistakes, deleted the old greeting card content and library, then uploaded H5P.BranchVideo as a library. However when I try to create content with it, despite being almost identical and only changing parts of it that made sense(such as the 2 that i listed above), it had the same problem as above. Where it would allow me to upload the library but it was an empty page.

Using chromes developer tool, it gave me these errors:

h5p.js?ver=1.10.1:861 Unable to find constructor for: H5P.BranchVideo 1.0

H5P.error @ h5p.js?ver=1.10.1:861

H5P.newRunnable @ h5p.js?ver=1.10.1:784

(anonymous) @ h5p.js?ver=1.10.1:132

each @ jquery.js?ver=1.10.1:2

each @ jquery.js?ver=1.10.1:2

H5P.init @ h5p.js?ver=1.10.1:92

(anonymous) @ h5p.js?ver=1.10.1:2136

c @ jquery.js?ver=1.10.1:2

fireWith @ jquery.js?ver=1.10.1:2

ready @ jquery.js?ver=1.10.1:2

H @ jquery.js?ver=1.10.1:2

h5p.js?ver=1.10.1:981 Uncaught TypeError: Cannot read property 'getCopyrights' of undefined

    at Object.H5P.getCopyrights (h5p.js?ver=1.10.1:981)

    at HTMLDivElement.<anonymous> (h5p.js?ver=1.10.1:166)

    at Function.each (jquery.js?ver=1.10.1:2)

    at init.each (jquery.js?ver=1.10.1:2)

    at Object.H5P.init (h5p.js?ver=1.10.1:92)

    at HTMLDocument.<anonymous> (h5p.js?ver=1.10.1:2136)

    at c (jquery.js?ver=1.10.1:2)

    at Object.fireWith [as resolveWith] (jquery.js?ver=1.10.1:2)

    at Function.ready (jquery.js?ver=1.10.1:2)

    at HTMLDocument.H (jquery.js?ver=1.10.1:2)

 

Please help me as I am unsure of how to move forward as I have spent a significant time trying to debug. continuously changing variables/filenames and then deleting them, using the original greeting card and trying again and again.

Content types: 
icc's picture

The file you've attached works fine when I upload it to my test site. I would try changing the patch version in library.json and upload it to your site again.