# Calling 'addVideoElement' on screen share flips/mirrors the local video

**URL:** <https://openvidu.discourse.group/t/calling-addvideoelement-on-screen-share-flips-mirrors-the-local-video/2868>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [March 31, 2021, 1:58am UTC](https://openvidu.discourse.group/t/calling-addvideoelement-on-screen-share-flips-mirrors-the-local-video/2868 "2021-03-31T01:58:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phenry20](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/phenry20/32/1354_2.png) [@phenry20](https://openvidu.discourse.group/u/phenry20)\
**Post date:** [March 31, 2021, 1:58am UTC](https://openvidu.discourse.group/t/calling-addvideoelement-on-screen-share-flips-mirrors-the-local-video/2868/1 "2021-03-31T01:58:59Z")

</div>

In my application I would like to create the screen sharing video element myself and then later attach the video to the element.

Example:

```
    publisher = OVScreenShare.initPublisher(undefined, {
                                videoSource: "screen",
                                insertMode: "REPLACE",
                            });

```

Later on call:

`publisher.addVideoElement(videoElement);`

My local screen share is backwards:

 ![Screen Shot 2021-03-30 at 9.57.40 PM](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/1/192952f09d8d843bf1014be71c140e53e56ff670.png)

Am I doing something wrong? Or is this a bug?

---

<div class="post-metadata">

**Author:** ![phenry20](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/phenry20/32/1354_2.png) [@phenry20](https://openvidu.discourse.group/u/phenry20)\
**Post date:** [March 31, 2021, 2:16am UTC](https://openvidu.discourse.group/t/calling-addvideoelement-on-screen-share-flips-mirrors-the-local-video/2868/2 "2021-03-31T02:16:13Z")

</div>

Nvm. I made a mistake when I called my code so `videoSource: "screen"` wasn’t getting called
