vMix Forums
»
General
»
General Discussion
»
URL Encoding needed for BrowserNavigate Shortcut
Rank: Newbie
Groups: Registered
Joined: 2/15/2022(UTC) Posts: 4 Location: Victoria, BC
|
Hi, My first post here. The background is that we're using AHK to control vMix, Zoom and our in-house projector & monitors for hybrid services. We use Google Slides and various online video sources (and yes, respecting copyright). AHK uses the WEB API to send commands to vMix We append parameters such as "&autoplay=0" "&start=10" to control the online player behaviour. Cutting and pasting those URLs into the Browser input works but not so when passing the URL to the 'BrowserNavigate' shortcut. There is a simple workaround but I didn't find any mention of it in the vMix documentation or any forum post and hence the reason for this post. The various special characters such as "?", "&" and "#" need to be replaced with their URL Encoding equivalents. You can find the equivalents here: HTML URL Encoding Reference (w3schools.com)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,244 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
Originally Posted by: AV_FUCV Hi, My first post here. The background is that we're using AHK to control vMix, Zoom and our in-house projector & monitors for hybrid services. We use Google Slides and various online video sources (and yes, respecting copyright). AHK uses the WEB API to send commands to vMix We append parameters such as "&autoplay=0" "&start=10" to control the online player behaviour. Cutting and pasting those URLs into the Browser input works but not so when passing the URL to the 'BrowserNavigate' shortcut. There is a simple workaround but I didn't find any mention of it in the vMix documentation or any forum post and hence the reason for this post. The various special characters such as "?", "&" and "#" need to be replaced with their URL Encoding equivalents. You can find the equivalents here: HTML URL Encoding Reference (w3schools.com) https://forums.vmix.com/...Web-API-Script#post51481and From Helpfiles (webscripting) Quote:URL encoding may need to be used when using special characters in the Value parameter.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/15/2022(UTC) Posts: 4 Location: Victoria, BC
|
True. But that reference only appears in the Web Scripting section It does not appear in either the HTTP WEB API or Shortcut Function reference which is what I've ben using
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,244 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
Originally Posted by: AV_FUCV True. But that reference only appears in the Web Scripting section It does not appear in either the HTTP WEB API or Shortcut Function reference which is what I've ben using Must be the only one reading the helpfiles ;-)
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
URL Encoding needed for BrowserNavigate Shortcut
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close