• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Compile video files from database table and play as a playlist

Foliovision › Forums › FV Player › Requests and Feedback › Compile video files from database table and play as a playlist

  • fiweh4lf 6 years, 9 months ago

    I have a database table that contains thousands of video that I would like to add to the video player shortcode automatically that way I have videos playing continously. How would I be able to do that with the fvplayer?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Lucia 7 years ago

    Hi fiweh4lf!

    We have a feature like that ready for release in next days. The database should have certain form it cannot be just any custom database table. But if you have PHP skills you will have no issues. We will also release documentation this week about FV Player Object model which was created for the FV Player database. Using that it’s easier to build FV Player instances from custom data structures, more robust than having to build a shortcode text.

    Thanks,
    Lucia

    Martin 7 years ago

    Hello fiweh4lf,

    as Lucia mentioned the database-driven FV Player is almost ready, but we still have to review some of the design and usability issues.

    Thanks,
    Martin

    fiweh4lf 5 years ago

    I started using the features that you mentioned before and I am now working on another feature which will give users the options to make playlists from taxonomy/post categories. I want users to have the option to select Post Category within a video category or within sub-categories like News, Music, Trailers, Celebrity News etc.

    The option should be either in post interface or integration/compatibility where users can choose whether to use post categories as playlists to story their videos.

    I.E.
    Playlist source: Post Categories
    Custom
    Both
    Select Categories: [list of post categories]

    By selecting the post category or both option, it would automatically add selected post categories id & name to the FV Player database table.

    I am working with the creators of the WP Pipes plugin to create an addon that allows the plugin to store video URL directly to FV Player Database Table base on the select post category [taxonomy_id].

    In the end using both plugins we can create automatic playlists that can be displayed in fvplayer shortcode so after a single post video is played the playlist will be played after it.

    fiweh4lf 5 years ago

    There is something else I did not account for. I want a source video to play and then when it’s finished a playlist will load and play videos base on an associated playlist. For the playlist function I want to do the following:

    Current working shortcodes
    1st playlist option 1 – [fvplayer src="video_url" playlist="video_url2,video_url3,video_url4"]

    2nd playlist option 2 [fvplayer id="1"]

    Proposed option
    What I want, but does not work- [fvplayer src="video_url1" id="1"].

    I want to make sure every time a user click on a video post that either a day, week, month, or year old it will play first, then the associated playlist with the most recent videos is loaded and play next.

    fiweh4lf 5 years ago

    If it is possible to add another table field for post category and then inside the shortcode users can specific the videos from a post category.

    Juraj Kacaba 5 years ago
    Avatar photo

    Hello fiweh4lf,

    Thanks for extensive informations and feature request. It does sound interesting to us, however there are many unfinished things currently on our plate. Would you be interested in paid custom development for this feature? Let us know!

    Making the web work for you,
    Juraj

    fiweh4lf 5 years ago

    How much would the custom features cost?

    Juraj Kacaba 5 years ago
    Avatar photo

    Hello fiweh4lf,

    I’ve forwarded this thread to our Senior programmer Martin. He’ll get in touch with you to discuss the possibilities and pricing. Meanwhile you help to speed up the process by explaining your vision closer.

    Thanks for using our player,
    Juraj

    fiweh4lf 5 years ago

    Is there a way to automatically save a video url into the database and replace the url with an id without doing it manually?

    If that function is achievable then what I am proposing would be a minor modification.

    Martin 5 years ago

    Hello fiweh4lf,

    what you sent looks like a custom programming projects. I just read though it and I’m not sure how we could make that a core functionality which would be beneficial for more users.

    If you want to create dynamic playlist which play related videos after each video, then I would have some other suggestions on that –

    Let’s say that you have posted 10 different posts with 10 different videos. So you have 10 posts in wp-admin -> Posts and 10 players in wp-admin -> FV Player.

    So when you have category “Sport” with posts 1,5,6,7,10 in it and you are viewing post 10, it wouldn’t be a problem to add code to append the videos from player associated with these other players to it.

    Let’s assume that the player IDs in these posts are the same as the post IDs, you could just use:

    [fvplayer id="10,7,6,5,1"] to get a playlist of all videos posted in these articles.

    Does any of that make any sense, or did I miss your point completely?

    Thanks,
    Martin

    reply-to-compile-video-files-from-database-table-and-play-as-a-playlist-2
    reply-to-compile-video-files-fro
    fiweh4lf 5 years ago

    Martin what I am actually attempting to do is have the player play one source video and a playlist in the shortcode.

    i.e.
    [fvplayer src="https://youtu.be/mRGsDv2VIFQ" id="18" splash="https://i.ytimg.com/vi/mRGsDv2VIFQ/maxresdefault.jpg"]

    It will then play the source video first and when it concludes play the videos in the playlist. So far when I use the above parameters in the shortcode, the following happen:

    1. The thumbnail for the source video shows in the player.
    2. The first thumbnail in the list of videos below the main video shows the source thumbnail.
    3. The source video does not play, instead the first video in the playlist plays instead and the that thumbnail does not show up in the video thumbnails below the main video.

    I want to know how to make the source video plays and then have the playlist from the database “ID” plays next.

    Is it possible to put an “IF” or “THEN” statement within the plugin source code that will allow users to use the database “ID” number in SRC1 or Playlist instead of a single or multiple video url?

    reply-to-compile-video-files-from-database-table-and-play-as-a-playlist
    reply-to-compile-video-files-fro
    Martin 5 years ago

    Hello fiweh4lf,

    is the https://youtu.be/mRGsDv2VIFQ video posted as an individual FV Player instance? I mean if there is some [fvplayer id="19"] which shows that video only. Then you can use [fvplayer id="19,18"]

    However if FV Player ID 19 is a playlist of videos and you would like to take a single video out of that, then we don’t have a solution for that right now.

    I see something like [fvplayer videos="56,54,..."] could work, but then then you would have to name all the videos in FV Player ID 18 playlist. So a hybrid form like [fvplayer videos="56,playlist-18"] could technically work.

    But overall it’s not a simple enhancement and I wonder how we could do this so that it would all make sense and not be hard to use.

    Thanks,
    Martin

Viewing 12 replies - 1 through 12 (of 12 total)
Reply To: Compile video files from database table and play as a playlist



Please Sign in or Register to upload files.

Related Posts

  1. Video Playlist with Durations

    Video Playlist with Durations

  2. Playlist Styles

  3. Video Playlist s délkou trvání videí

    Video Playlist s délkou trvání videí

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!