Hello,
i'm trying to dynamically load a plugin. Is this possible? I'm trying to add the syntax for loading the plugin in a javascript variable but the quotes always break it. Even when trying to escape them or mixing double quotes and single quotes.
What i'm trying:
- On page load do a check for a value
- If value is set variable add plugin syntax otherwise keep variable empty
- on document ready load jwplayer (with jw embedder) with the variable under plugin call.
Hope this is clear. It is difficult to show a working page because the development environment is IP-restricted and not to be posted on non-restricted webpages. If more info is needed please tell.
Kind regards,
Son
Can you show me where you tried this and it broke?