Closed (fixed)
Project:
Media oEmbed Control
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2020 at 20:38 UTC
Updated:
18 Feb 2021 at 08:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
minoroffense commentedI added the option but I implemented it slightly differently from how the autoplay was done in YouTube. I used a DOMDocument to manipulate the markup and export it again. This could prove useful for creating more generic options like attribute manipulation. Plus it would likely be less error prone than using a regex. Especially if more complex options get added.
Let me know what you think.
Comment #3
minoroffense commentedComment #5
archnode commentedThis makes sense, and I share your view that a more generic approach would be more useful. As I committed a refactoring from another issue, I adapted your patch for the new structure for the time being.