Closed (fixed)
Project:
YouTube Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Reporter:
Anonymous (not verified)
Created:
24 Oct 2013 at 19:03 UTC
Updated:
28 Nov 2023 at 13:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedToken support now working.
Comment #2
Anonymous (not verified) commentedAdded Feeds support.
Comment #2.0
Anonymous (not verified) commentedtoken support is working with new patch
Comment #3
guschilds commentedpferlito,
Thanks for your work on this so far!
Been rather busy lately, but I can't wait to look through it as soon as I get the chance.
Gus
Comment #4
Anonymous (not verified) commentedGreat! Thanks for checking in and for your work in the queue.
Comment #4.0
Anonymous (not verified) commentedFeeds integration done.
Comment #5
Anonymous (not verified) commentedAdding tests. Should be ready for review.
Comment #6
Anonymous (not verified) commentedAdding responsiveness. Ready for review.
Comment #7
Anonymous (not verified) commentedChanges to keep up with D8 HEAD.
Comment #8
Anonymous (not verified) commentedNow using git format-patch.
Comment #9
Anonymous (not verified) commentedNew and improved version.
Comment #10
Anonymous (not verified) commentedComment #11
Anonymous (not verified) commentedComment #12
kristen polNit pick... extra space compared to the other code.
Don't think this will do what is intended... it will break out on the first parameter.
Is this intentionally blank? If so, perhaps add a comment? Not sure what is standard in core.
Extra space before "linked"?
Add space before array().
Is this the standard way to have an empty function? This is different than the other one above.
"video url" is lowercase and "Video id" starts with uppercase. Not sure what is intended.
elseif should be on new line.
Nit pick: Period missing at end of sentence.
Nit pick: Period missing at end of sentence.
Nit pick: Period missing at end of sentence.
I think it's "hacky" :)
Comment #13
maryedith commentedTested the D7 and D8 sites this evening.
For the most part things work well and identically. I did notice that in D8, when editing a node, a YouTube Field is not labeled with the label given the field in the content type. It instead is labeled "Video URL". This may be intended behavior in D8?
In both D7 and D8 we noticed that the System-level "Do not show YouTube logo on video player (modestbranding)." option ONLY took effect after some Field-level configurations of the YouTube field had been toggled.
AFTER changing some field-level configuration options this System-level config item DID take effect.
Comment #14
erutan commentedSome notes, I got the patched module running on a vagrant box.
@ http://drupal8.scdug.local/admin/structure/types/manage/article/display - sometimes after editing options under youtube video, the gear icon won't open until a refresh. this can also be fixed by switching between video and thumbnail display modes. This might just be some weird core behavior? It is alpha 6 after all.
@ http://drupal8.scdug.local/admin/config/media/youtube I'd recommend a change in wording to make it more explicit about what is happening (as there is a youtube logo that will load itself over the video).
after switching to responsive display mode @ http://drupal8.scdug.local/admin/structure/types/manage/article/display the following error occurred when viewing the piece of content I had made with the embedded video image.
Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("The PHP cURL extension must be installed to use Guzzle.") in "core/themes/bartik/templates/page.html.twig" at line 167. in Twig_Template->displayWithErrorHandling() (line 279 of /var/www/core/vendor/twig/twig/lib/Twig/Template.php).This persisted throughout cache clears, but going back to http://drupal8.scdug.local/admin/structure/types/manage/article/display and changing it to another setting fixed it. Changing it back to responsive again did not yeild the same result and it displayed fine.
Comment #15
Anonymous (not verified) commentedKristen:
#1. I can't find the space. I'm not going to worry about it.
#2. I looked at the code and it does what is intended which is to show "custom parameters" if any one of the custom parameters is set. This is the same as the D7 module.
#3. The method must be declared because the base class implements an interface that includes the method. It's standard to do this without comment.
#4. Done
#5. Yes it's the standard way. I made them both one-liners for consistency.
#6. Changed to uppercase
#7. Done
#8. Done
#9. Done
#10 Done
#11 Done
Mary Edith:
#1. Fixed
#2. Can't reproduce
Carl:
#1. Yes I'm going to blame that on core. My code doesn't control that.
#2. I chose option 1. Thanks!
#3. I'm unable to reproduce that result
Comment #16
Anonymous (not verified) commentedComment #17
juliavdw commentedComment #18
Anonymous (not verified) commentedAdding a zip file.
Comment #19
Anonymous (not verified) commentedComment #20
guschilds commentedThanks so much, pferlito, for your work on this and many thanks to those who have reviewed it as well. I have committed the attached zip from #18 to a new 8.x-1.x branch. I have also made mention of this effort on the project page in hopes to better track progress towards an 8.x-1.0 release.
Future folks: please open new issues for all features, bugs, etc. regarding 8.x-1.x rather than re-opening this one.
Comment #22
jenlamptonGreat job on the early 8.x version everyone! :)