Title: code only loaded if needed?
Last modified: September 30, 2018

---

# code only loaded if needed?

 *  [bendim](https://wordpress.org/support/users/bendim/)
 * (@bendim)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/code-only-loaded-if-needed/)
 * Hello,
    is the asciinema player script only loaded, if the tag `<asciinema-player
   src="https://wordpress.org/demo.json"></asciinema-player>` is in the current 
   page?

The topic ‘code only loaded if needed?’ is closed to new replies.

 * ![](https://ps.w.org/asciiplayer/assets/icon-256x256.png?rev=1587682)
 * [asciiplayer](https://wordpress.org/plugins/asciiplayer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/asciiplayer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/asciiplayer/)
 * [Active Topics](https://wordpress.org/support/plugin/asciiplayer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/asciiplayer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/asciiplayer/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bendim](https://wordpress.org/support/users/bendim/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/code-only-loaded-if-needed/)
 * Status: not resolved