Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6389645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:25:47+00:00 2026-05-25T03:25:47+00:00

I got a codeigniter website what handles youtube videos. Somet details are stored it

  • 0

I got a codeigniter website what handles youtube videos.

Somet details are stored it the database, id, title, embed, thumbnail, description, duration.

I managed to show the list of videos.

And I would like that if someone clics on the thumbnail, it loads up the video.

Well I didn’t had any luck with it.

I’m trying <a href='video?video_name_here'>thumbnail</a> then go to the video page and show the video embed.

I don’t want anybody to write it for me, i just only would like a more experienced persons help giving me a hint.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:25:48+00:00Added an answer on May 25, 2026 at 3:25 am

    You must have videos controller with a play method that takes the video url as an argument. I appreciate you wanna try it so im just givin you a mock up here.

    Class Videos extends CI_Controller {
      function play($url) {
       embed_play($url);
     }
    }
    

    In your links in thumbnails do this

    <?php echo anchor("videos/play/".$video_url,"Video 1"); ?>
    

    Hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I have create a website using codeigniter. I got a message error every
I have got a problem with my codeigniter library. To transform database data into
I've got a working CodeIgniter website on my machine. However, when I move it
I've got my auth library in codeigniter which accesses the database to check to
I’m trying to implement the YouTube API on my codeIgniter website. I followed the
I've got a Codeigniter project I'm working on, and using the CI Sessions (stored
Update: Got this working by disabling CodeIgniter Profiler which was interfering with the Ajax
I'm using CodeIgniter and I got a model that fetches let's say all recipes
I've got a lot controller in my Codeigniter apps, ex: Signup, Profile, Main, etc..
I've got a standard login form submitting data to a Codeigniter function to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.