Playing video in website using codeigniter - codeigniter

I am using php codeigniter. I want to store youtube links of movie trailers in my database and when the user clicks on a thumbnail it should start playing in the website. Pleaseee someone give me idea how to implement this. Thanks in advance ...

check this integration of jquery and flowplayer it works good check here

Related

Profile image gallery provided by database

I'm currently working on profile images for my registered users.
As of now my users can upload their own images to use and of course there's a default image, incase users don't upload a picture.
By the way, I'm using the Paperclip gem.
I've been trying to do so that my users can choose to select an image from a list of images, provided by the website/database.
This website: https://satwcomic.com/ has exactly what I'm looking for.
Example from the website.
I've been trying to find a solution for this for the past month, but without luck. any hints on how i could successfully achieve such feature with or without paperclip?
I'm hoping to get pushed in the right direction.
Please do keep in mind, I'm still learning Ruby on Rails as a student and any help will be appriciated.

How to implement watermarking of images in YII framework?

I want to watermark images at the time of uploading in yii.
Please anyone help me to do that.
If you want to write your own code for that just google "php watermark images" or something similar. You can find many examples here as well like:
Image watermarking in php
php watermark and save image
If you just want to use Yii extension for that just google "yii watermark" for example. It gave me this extension url:
https://github.com/zhdanovartur/yii-easyimage

How to upload files to Soundcloud using Codeigniter?

I am building an application that would upload audio on SoundCloud and get the URL of the uploaded track using Codeigniter.
I need to know how to upload the file to SoundCloud.
How do I do it? I have not used API thing before and I don't find a proper tutorial or a guide to how to upload it. So if anybody can help me with this, please answer my question here.
You should try the SoundCloud CodeIgniter Library, from GitHub. I have never used it, but I do have an upcoming project that will use SoundCloud, so for now this is all I can do;
https://github.com/benedmunds/CodeIgniter-Soundcloud-Library

Bootstrap Carousel to play mp4 with ajax

I'd like to stream and play videos from my django site, I've already converted them to mp4 and was thinking about using the carousel widget with bootstrap to play them. Of course I would like to only load the current video and lazy load the rest, as there could be serveral.
I've been scouring the net to find good examples with ajax functionality, not going well, thoughts?
Thanks in advance
You could use $.get() to load data from the server whenever the previous or back arrows are triggered.
api.jquery.com/jQuery.get

Google Apps Script fade in

Is there a way to make an image slide show using only google apps script ui services.I have created a gallery of image but doesnt have any transition animation. I cant find any example using any effect animation (fade in fadeout). I cant also find any timed events examples. Thanks.
Using JQuery, this will not be possible using the UiApp. I believe Caja rejects CSS3, so therefore you wouldn't be able to set it as an attribute either.
The only thing I can suggest is utilizing the HTML Service which would allow the use of JQuery - be sure to use Google's hosted JQuery as it will run faster for you.
Hope this helps,
Cheers.

Resources