Closed (fixed)
Project:
Media: YouTube
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2017 at 06:44 UTC
Updated:
17 Jun 2017 at 19:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ankitsingh0188Hi,
I have created a patch for that and test it.
Please find the attached patch. The patch search the youtube videos accordingly
Note : You can add the YouTube API Url and API Key from here : admin/config/media/media-youtube
Comment #3
joseph.olstadHi Ankit.singh , sorry I could not try your code, your patch does not apply on the media_youtube 7.x-3.x branch , does your patch depend on some other patches?
according to your patch there is a file called js/media-youtube.browser.js
however I do not see this file in the 7.x-3.x branch
also, it appears you've made the patch against profiles/ttrybe ....
the correct way to make a patch is by cloning the project, in this case media_youtube , applying your code changes and then capturing the changes as you normally would using git diff for example.
Comment #4
joseph.olstadah , sorry , just noticed that the patch was for the 7.x-2.x branch , makes sense, however the patch needs reroll anyway, its not formatted correctly
Comment #5
joseph.olstadComment #6
joseph.olstadhere is a copy verbatim of your patch, minus the profiles/ttrybe junk
still needs fixing though
Comment #7
joseph.olstadnew patch
Comment #9
joseph.olstadAs far as my tests see, this is fixed in the 7.x-2.x dev branch, however you may want to upgrade to 7.x-3.1