Closed (fixed)
Project:
CKEditor: Video Detector
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2016 at 08:22 UTC
Updated:
12 Dec 2016 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
JFH - 3DX internet commentedComment #3
awasson commented@JFH is correct. I have trested those changes and they do indeed work as described. I've attached a patch for your module.
Cheers,
Andrew
Comment #4
awasson commentedThinking a little more on this. Perhaps a ckeditor_videodetector.libraries.yml file would be ideal for this module?
I will investigate and post back.
Andrew
Comment #5
aoturoa commentedI like the ckeditor_videodetector.libraries.yml approach.
Furtermore using 'base_path()' isn't optimal, better is using 'libraries_get_path()' once a dependency on libraries is added.
Comment #6
aoturoa commentedThe following patch applies to current 8.x-1.0 release.
Comment #7
awasson commentedYes, I think that is a much better approach and more in line with the OOP/MVC approach taken in D8.
Comment #8
darol100 commentedThe libraries module in D8 is not does not have a stable version nor have a clear direction future of that project. For this reason, I do not think is smart idea to added as dependency. This issue is related to #2758579: Best way for getFile to retrieve file(s) from the /libraries directory?, which is been solve in this commit.