Closed (fixed)
Project:
Video Embed Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2017 at 23:33 UTC
Updated:
12 Jul 2017 at 07:55 UTC
Jump to comment: Most recent, Most recent file



Comments
Comment #2
larowlanComment #3
larowlanComment #4
sam152 commentedThis looks awesome. Lets add at least one entry to FieldOutputTest and then we're good to go.
Left over?
Comment #5
sam152 commentedHead is fixed. #2888653: Fix HEAD
Comment #6
dmegatool commentedI applied against the dev version but getting some php error... Is this working ? Do I need to apply the "Fix Head" patch too ?
Comment #7
sam152 commentedThe other patch is already merged. You should be able to do a pull and then apply the patch. It's helpful to post the error you are getting if you're asking for help in fixing it :)
Comment #8
dmegatool commentedEdit : Unrelated error. Decluttering the thread...
Comment #9
sam152 commentedVideo embed field isn't in your callstack, so unlikely to be the issue. Have you removed the "photoswipe" without uninstalling it first?
Comment #10
dmegatool commentedI thought the patch could have broken something with formatters... I ended up removing and reinstalling photoswipe and the error is gone, weird. Got it working now ! Gotta fix my css but this look very promising. Thank you very much for the help ;)
Comment #11
dmegatool commentedThat patch is perfectly working work me, in the all the views I had the video embed formatter... Works across the board in all my tests. Thanks again !
Comment #12
sam152 commentedClearly lots of demand for a formatter like this. I'll look at #4 and get this in when I can.
Comment #13
sam152 commentedFixing #4 and resolving some issues I had with manual testing.
Comment #14
sam152 commentedExplaining some of the changes.
This was required because for image styles smaller than the width of the container the video was in, the play button would appear off centre. Stretching the image seems appropriate, the container can either be made smaller or the image style can be made larger.
Lazyload doesn't work without responsive-video, so enforcing this at the library level instead of adding both.
Viewing as logged out user, it said "Drupal" wasn't defined. This seems like the right library to make sure all the stuff we need is there.
Comment #15
sam152 commentedRe-enabling tests I disabled in the last patch.
Comment #16
sam152 commentedComment #19
drc0 commentedHello, is that possible for the lazy load formatter to replace the image thumbnail with the actual video iframe?
edit:
as usual check for js errors before issuing a comment, the formatter works as intended!