Using this option you can dynamically set the positioning of your player to a specific or arbitrary HTML element on your web page where you paste the players embed code.
You have 2 distinct options at your disposal:
- Inside element - This will render the player inside the element of choice.
- After element - This will render the player at the first possible place it can after your chosen element selector.
For each option above you are able to set a selector so you inform the player where it should render dynamically on your page. Valid values for these are any of the following supported selectors as seen here - https://www.w3schools.com/jsref/met_document_queryselector.asp
For example, if you want the player to always render in a specific div, you would select the Inside element option, and in the input field enter #myDivId.
You can also do something similar if you want to target an element via a class by inputting .myClass.
If you want the player to appear for example inside every second paragraph on a page you would enter this p:nth-of-type(2)
Comments
0 comments
Please sign in to leave a comment.