laravel - Laravel4 Iframe URL with special chartecter throw NotFoundHttpException -


i'm using laravel4 project.

it's ok when use this:

<iframe src="{{url::to('/'). $video->path}}" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> 

but when use this:

<iframe src="{{url::to('/'). $video->path}}&autoplay=0" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> 

the iframe return symfony \ component \ httpkernel \ exception \ notfoundhttpexception.

how can fix this? please me out. smile

i think doing query string wrong.

if url of video is: yoursite.com/video1 , append &autoplay=0, url yoursite.com/video1&autoplay=0 not exist.

change &autoplay=0 ?autoplay=0 see if works.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -