I have self hosted video player and I frequently change theme.
I post my video on the post editor using this code.
My problem is that the video size is not always fit to the themes. What I want to do now is to declare a global constant variable that I can use to replace the height and the width value of the above code. This way I can just edit the global variable to suit my current theme.
Where can I declare a global constant variable that I can use in post editor (html).
If there is other way to accomplish this, please comment.
your help is highly appreciated.
- The topic ‘Global variable tempalte based variable’ is closed to new replies.