QmlVlc icon indicating copy to clipboard operation
QmlVlc copied to clipboard

Open a source with "qrc:/"

Open aureyoboss opened this issue 9 years ago • 2 comments

Hi RSATom,

Is it normal that I do not open a file in my Ressources ? I have this error : VLC is unable to open the MRL 'qrc: /sound/about.mp3'.

See you soon. Thank you.

aureyoboss avatar Aug 15 '16 14:08 aureyoboss

It is normal, because the resource opening is handled by Vlc itself, which doesn't understand qt resources.

Possible workarounds include copying the resource out to a temporary file first, or implementing a handler using imem:// in qmlvlc.

Unless somebody has a better idea? This would be a very handy feature.

danieloneill avatar Aug 15 '16 16:08 danieloneill

@danieloneill absolutely correct 💯

RSATom avatar Aug 16 '16 01:08 RSATom