Closed (fixed)
Project:
Media: YouTube
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2013 at 15:40 UTC
Updated:
26 Feb 2014 at 18:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dalinAt first I found #1420812: Files from private stream cannot be downloaded. I was going to write an implementation of
hook_file_download()that would work with that patch that would basically ignore access control and always show the thumbnail. But on further thought it seems to make more sense to simply always use the public file system. There's no need to hide a public YouTube thumbnail.Comment #2
David_Rothstein commentedThis makes sense to me for the vast majority of use cases.
I wonder if there are situations where keeping it private matters though? (Because if the file is public and someone knows the URL then in theory they can figure out what kinds of YouTube videos you are sharing on your site - maybe some sites would consider that sensitive information).
Comment #3
dalinThis is not correct, since for example if you use the media browser YouTube tab to do a search for 'foo', you'll now have thumbnails for the first 10 search results. You just searched for a term, your site may or may not actually use the video.
Comment #4
David_Rothstein commentedAh, good point. Well I guess the best they can do in that case is figure out what kinds of YouTube videos people are thinking about sharing on the site :)
Comment #5
aaron commentedThis works as advertised. I'll commit this tomorrow. Thanks a lot, dalin.
Comment #6
aaron commentedCommitted. Thanks for the work, dalin.
Comment #8
socialnicheguru commentedWhile this was committed, it is not in the current dev branch:
Feb 6 media_youtube-7.2.x
but committed here:
http://drupalcode.org/project/media_youtube.git/commitdiff/c53660cde8c7d...
Comment #9
aaron commentedCommitted to http://drupalcode.org/project/media_youtube.git/commit/04f7b3d.