Closed (fixed)
Project:
Media entity Soundcloud
Version:
3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 May 2020 at 11:33 UTC
Updated:
13 Dec 2024 at 13:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dotpex commentedHere is a patch
Comment #4
damienmckennaLet's expand this to cover all of the values available from Soundcloud's oembed response.
This patch adds 'version', 'type', 'provider_name', 'provider_url', 'height', 'width', 'description', 'author_name', 'author_url', along with 'title' added above.
Comment #5
damienmckenna:facepalm:
This should work.
Comment #7
damienmckennaThis test failure has nothing to do with the change, I suspect the branch tests are failing too.
The failure happens because after saving the media the visitor is taken to the media entity edit page, not the media entity view page.
Comment #8
damienmckennaI opened a separate issue for the test failure: #3162442: Fix tests on 8.x-2.x branch
Comment #9
jcisio commentedComment #10
mrogers commentedIs this patch working for anyone in v3? It seems to apply properly and the additional attribute options appear in the media entity edit screen, but when creating media the 'name' field is populated with 'Compound of source type' regardless of which option I set (I'm trying to use 'Title').
Edit: Actually, the additional attributes work correctly when adding media via the 'Content > Media > Add Media' method, but not when using the Media Library widget from within a content editing context.
Comment #11
rajeshreeputraComment #12
mrogers commented#5 rerolled for 3.1.1
Comment #14
rajeshreeputraComment #15
rajeshreeputraCan we add test coverage for the same.
Comment #17
rajeshreeputraMerged!