embed's People
Forkers
ramon-villain autocar mosanger wifiprodev greatwitenorth grambas sagsoz06 davodavodavo3 kmdrn7 gifary johnef kriskornel ehsanmoh salimedia djoudi eazybright repat erlangsec norbertho hrisig davisriska vool amrosandanembed's Issues
A non well formed numeric value encountered
ErrorException in Embed.php line 245
$this->provider['render']['sizeRatio'] shows 1.77&starts=60
I am using php 7.1 and laravel 5.3
This is only for me?
inject onclick method in the embed iframe
Has anybody managed to implement a JS onclick method in the embed iframe?
I have tried
$embed->setAttribute( ["onclick" => 'myMethod( ' . $video['id'] . ' )']);
and
$embed->setAttribute( ["onclick" => 'alert()']);
I see that in web inspector that the events are correctly injected to iframe html tags but I can't trigger even a simple alert.
I my case I want to add a listener for the player button ....
Latest Update broke Plugin for L4.2
Got an error after your latest update. Would be awesome if you commit a fix :)
{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Call to undefined method Cohensive\Embed\EmbedServiceProvider::mergeConfigFrom()","file":"C:\xampp18\htdocs\fotinity-portal\vendor\cohensive\embed\src\Cohensive\Embed\EmbedServiceProvider.php","line":31}}Script php artisan clear-compiled handling the post-update-cmd event returned with an error
Twitch clips not working
Youtube, dailymotion, etc. work.
However, with twitch clips nothing loads.
For example, I tried this clip out: https://www.twitch.tv/clintstevens/clip/CrispyEndearingCiderBibleThump
which was then converted into:
<object type="application/x-shockwave-flash" data="https://twitch.tv/widgets/live_embed_player.swf?channel=clintstevens" wmode="transparent" id="live_embed_player_flash" width="500" height="350"><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><param name="allowNetworking" value="all"></param><param name="flashvars" value="hostname=www.twitch.tv&channel=clintstevens&auto_play=false&start_volume=25"></param><param name="movie" value="https://www.twitch.tv/widgets/live_embed_player.swf"></param></object>
however, when putting that on my website, it's just blank.
Default image if no link provided
I am using this package for dynamic content feeding and it is doing an excellent job.
In my case I have many live events which still haven't started and in such case I would like to replace the url with a link to a default image. This would be a nice feature to have.
Thank you for your time.
Fatal error after generating config cache through artisan on Laravel 5.3
First many thanks for your package and your work.
I was trying to create config cache through php artisan config:cache however it seems that config file from your package is creating fatal error in that cached config file.
Fatal error: Call to undefined method Closure::__set_state() in xxx\bootstrap\cache\config.php on line 927
It seems that dataCallback are causing this. Here is code around line 927 ( and there is also one more occurence later ):
'data' => NULL,
'dataCallback' =>
Closure::__set_state(array(
)),
Is it possible to fix this somehow ?
support "start at"
Can you give us some tips to get video embeds from youtube with start time options
For example link: ...&t=24m10s
Will this support urls with -nocookie?
Will this support youtube urls with -nocookie attached? It seems to return false.
Call to undefined method Cohensive\Embed\Embed::make()
could you help please
Call to undefined method Cohensive\Embed\Embed::make()
{!! \Cohensive\Embed\Embed::make($lessonsInfo->urlContent)->parseUrl($lessonsInfo->urlContent)->setAttribute([
'width' => '100%',
'height' => 315,
'frameborder' => 0,
'allowfullscreen' => true
])->getHtml() !!}
Call to undefined method Illuminate\\Foundation\\Application::bindShared()
I'm trying to install 4.2.0 on Laravel 4.0.*. It appears as though bindShared() is not a method. Some suggest it was renamed to singleton, although I'm not sure when that happened. Full error:
$ php artisan clear-compiled
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Call to undefined method Illuminate\\Foundation\\Application::bindShared()","file":"\/laravel\/vendor\/cohensive\/embed\/src\/Cohensive\/Embed\/EmbedServiceProvider.php","line":22}}
IMGUR?
Is there any way to get this to work with imgur?
SSL
Any support coming for https?
Error when trying to load youtube embeded video : Illuminate\Support\ServiceProvider::mergeConfigFrom()
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Illuminate\Support\ServiceProvider::mergeConfigFrom(): Failed opening required '/vendor/cohensive/embed/src/Cohensive/Embed/../../config/config.php' (include_path='.:/usr/share/php')
Class 'Embed' not found (View: C:\wamp64\www\school\resources\views\back\videos\display.blade.php)
Laravel 5.5 i followed everything you documented
How to use responsive?
Hi @KaneCohen ,
Thanks for creating this package.
Do you have some pointers on how to use this responsively instead of with a fixed width and height?
- Sander
Closures in config file
Hello
I am trying to run php artisan config:cache
but am triggering an error Call to undefined method Closure::__set_state()
. It seems that Laravel does not support closures in config files. See below for reference.
I'm wondering if there is a work around for this or an update can be applied to provide the data for the dataCallback (ie in the youtube config)? I am willing to issue a pull request with an update with a little direction for a clean solution.
How to remove copy link and view in youtube button
hello,
how to remove link youtube video to prevent user watch link or see url video ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.