• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF Directory video file name as an identifier in a '#URL.id#'

Community Beginner ,
Mar 06, 2021 Mar 06, 2021

Copy link to clipboard

Copied

Is there a way to grab the actual name of a video file located inside of a folder and make it a  variable to be identified within a hyperlink to bring up a pop-up video Modal. I'm Able to do that via a '#URL.id#' with The link to the video pointing to YouTube for Vimeo. I am able to list the names of the files in the video folder via the cfdirectory tag. I am also able to display the videos via cfloop from the video file name outputted from the cfdirectory. What I am trying to achieve is to click on the Video output gallery to bring up a pop up on another page when any video images is clicked on.

 

This is the pop-up page that shows my movies based on a link to YouTube. The link to YouTube is hard coded in my database.

 

<div>

 

<div class="video-block mbr-figure"><iframe class="mbr-embedded-video" src="#video2.evevideofullurl#?rel=0&amp;amp;showinfo=0&amp;autoplay=0&amp;loop=0" width="1280" height="720" frameborder="0" allowfullscreen></iframe></div>

</div>

 

</div>

 

I am trying to achieve the same behavior but with the name of the video file, that is now physically located in my folder as the identifier in the hyperlink

 
thanks for any tips you could provide

Views

59

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation