I tried to embed a facebook video and was struggling to change parameter for making the video autplay.
Tried many things and stackoverflow and other links was not solving it.
Then the hacker in me rose :P, here is the solution how you can embed a facebook video and change different parameters.
Dependency: You must install firfox and firebug to easy copy paste html and hack it 🙂
1. first find the vide link from the normal facebook embed code
for example an embed code is like this:
2. grab the src link https://www.facebook.com/video/embed?video_id=xxxxxxxx and open in firefox
now start the firebug and try looking into the html section
inside some div you will see embed code like this
embed width=”100%” height=”100%”
there you will see autoplay%22%3Afalse
change that to true and the video will autoplay
3. you can also change the height and width of video to any size by just changing style property you can even use any css class on it 🙂
so guys its not rocket science not sure why I could not find this in google. posting here if it helps somebody and saves some time 🙂