Skip to content

AudioAsset, GenericAsset, VideoAsset: added crossorigin property - #8

Open
vojtechrichter wants to merge 1 commit into
nette:masterfrom
vojtechrichter:fix/video-audio-generic-asset-crossorigin
Open

AudioAsset, GenericAsset, VideoAsset: added crossorigin property#8
vojtechrichter wants to merge 1 commit into
nette:masterfrom
vojtechrichter:fix/video-audio-generic-asset-crossorigin

Conversation

@vojtechrichter

Copy link
Copy Markdown
  • bug fix / new feature? bug fix
  • BC break? no

Since ViteMapper::createProductionAsset() forces crossorigin argument to every single asset, regardless of the type, creation of any audio, video, or generic assets currently fails on instantiating the asset object with: Unknown named parameter $crossorigin.

This is trivially solved by introducing the crossorigin property to these 3 remaining asset types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant