# API to change the video source in a placer layer

**URL:** <https://forum.boinx.com/t/api-to-change-the-video-source-in-a-placer-layer/18261>\
**Category:** Automation\
**Created:** [September 24, 2022, 6:25am UTC](https://forum.boinx.com/t/api-to-change-the-video-source-in-a-placer-layer/18261 "2022-09-24T06:25:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![winnie](https://forum.boinx.com/letter_avatar_proxy/v4/letter/w/e480ec/32.png) [@winnie](https://forum.boinx.com/u/winnie)\
**Post date:** [September 24, 2022, 6:25am UTC](https://forum.boinx.com/t/api-to-change-the-video-source-in-a-placer-layer/18261/1 "2022-09-24T06:25:09Z")

</div>

I need help to sort out the correct syntax for a http request command string as I have had no luck with the directions from the documentation and trying to piece it together from other demo’s, its not from lack of trying,

I have also noticed “copy URL to change video source” is available from the placer layer but its not mentioned in the documentation how to use it.

Im very stuck, any help appreciated.

---

<div class="post-metadata">

**Author:** ![JoPhi](https://forum.boinx.com/user_avatar/forum.boinx.com/jophi/32/770_2.png) [@JoPhi](https://forum.boinx.com/u/JoPhi)\
**Post date:** [September 24, 2022, 7:27am UTC](https://forum.boinx.com/t/api-to-change-the-video-source-in-a-placer-layer/18261/2 "2022-09-24T07:27:49Z")

</div>

Paste it into a browser’s address line (URL), or use it in an Automation script (Automation Layer).

BTW, there is no What-You-See-Is-What-You-Get-solution.

There is no “pattern” which you could use to logically write it. Except you’d read out the API by the use of an (external) programming Language.

---

<div class="post-metadata">

**Author:** ![Oliver\_Boinx](https://forum.boinx.com/user_avatar/forum.boinx.com/oliver_boinx/32/6_2.png) [@Oliver\_Boinx](https://forum.boinx.com/u/Oliver_Boinx)\
**Post date:** [September 24, 2022, 12:23pm UTC](https://forum.boinx.com/t/api-to-change-the-video-source-in-a-placer-layer/18261/3 "2022-09-24T12:23:34Z")

</div>

Hi @winnie. You’re right, there should be more documentation. Can you let us know what you’re trying to do? Then we could maybe give you a sample.

---

<div class="post-metadata">

**Author:** ![winnie](https://forum.boinx.com/letter_avatar_proxy/v4/letter/w/e480ec/32.png) [@winnie](https://forum.boinx.com/u/winnie)\
**Post date:** [September 25, 2022, 12:54am UTC](https://forum.boinx.com/t/api-to-change-the-video-source-in-a-placer-layer/18261/4 "2022-09-25T00:54:12Z")

</div>

Thanks for the replies, Ive had some success and I need to thank you once again @JoPhi, in your Automation tutorial you give the answer (around 23:00m) by decoding, fixing and re-encoding the URL taken from miMo, a bit of a process but a good start but not certain if my end goal will be achievable with this method using companion for stream decks.

Basically I am wanting to end up with a matrix of 20 Layer Destinations and 25 sources to have the ability to select any 1 of 20 layers and place any of my 25 source graphics into the layer with that layer remaining live until all 20 layers are filled. Having the operator do this from the main miMo gui is not going to be practical.

Presently the solution I have is 2 x 30 button stream decks, the first stream deck simply directs the second stream deck to a layer page that has the 25 sources to be selected. I was hoping not to have to build 500 variants and 520 buttons.
