Title: Get var from shortcode?
Last modified: August 19, 2016

---

# Get var from shortcode?

 *  [smarble53](https://wordpress.org/support/users/smarble53/)
 * (@smarble53)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/get-var-from-shortcode/)
 * Im trying to create a page with all of the site’s videos on it. I created a shortcode
   function to work with our flowplayer to install the player in that post, and 
   pull a video from our CDN.
 * the shortcode looks like this:
    `[flowplayer url="http://www.example.com/path/
   video.mp4"]`
 * so my question is: Is it possible to get all of the posts (preferably with that
   shortcode only), and then pull the video’s URL from the shortcode? or what would
   you recommend i do?
 * thanks for all of your help!

The topic ‘Get var from shortcode?’ is closed to new replies.

## Tags

 * [FlowPlayer](https://wordpress.org/support/topic-tag/flowplayer/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)
 * [video](https://wordpress.org/support/topic-tag/video/)

 * 0 replies
 * 1 participant
 * Last reply from: [smarble53](https://wordpress.org/support/users/smarble53/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/get-var-from-shortcode/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
