Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.41k forks source link

Being able to change source on already placed media elements #2730

Open camelgod opened 4 years ago

camelgod commented 4 years ago

Is your feature request related to a problem? Please describe. Removing and re-adding video elements with new sources in Spoke is kind of tedious, especially if there are users already present in a room using said scene. This is especially true for bigger live streaming events if you need to reconfigure something last minute and get new links. The same thing applies if you don't use any custom snapping tool for re-placing video elements if they are spawned in-world and not predefined in the scene, having to re-position elements after deleting them.

Describe the solution you'd like A button in the media-video (and others like pdf) freeze menu for changing the source of the video/image element. When clicked opens a textfield with the source and ability to change it.

Either

What would be amazing but probably hard: Drag and drop new file into the "new source menu" combining upload functionality with adding new source

Describe alternatives you've considered By enabling the a-frame inspector and changing the src property of the entity but that's only local and not really an alternative. Setting the src in spoke to a dynamic link or a set filename that I can change manually or file-replace on third-party service or server.

Additional context This could also be used as an alternative to snapping system, just pre-defining elements (for example a video or slideshow placeholder in auditorium and whoever presenting can change their source.)

┆Issue is synchronized with this Jira Task

camelgod commented 4 years ago

Maybe also able to change autoplay component (or maybe even any other property) in order to for example prevent pinning tons of videos and having them autoplay in a spawn area.