Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is awesome! I am trying to embed tubalr within a browser-based desktop environment and have a pair of (hopefully) quick requests:

1. I'd like to be able to pass in something via the URL that allows me to set the wmode of the video to be opaque or transparent. This is to prevent z-index conflicts when I have two separate tubalr iframes that overlap each other when I drag those iframes around.

2. For the initial video that tubalr loads, I'd like to be able to pass in something via the URL that controls whether the first video autoplays or not. This is to prevent multiple videos from playing at the same time when I have multiple tubalr iframes on a page.

Example Interface: http://beta.mindcast.com/ui/4kug9iozh54y



Thanks for the feedback and interest! The YouTube player is pretty finicky with z-indexing, so I'll need to play around with what your wanting and see how I could pull it off. As far as setting an option for auto play, that should be fairly easy to throw in. If you'd like to talk more about some features your interested in seeing feel free to contact me via cjstewart AT gmail DOT com


Oh, the z-indexing worked for me with the following update to the parameters of your swfobject:

var params = { allowScriptAccess: "always", bgcolor: "#cccccc", allowFullScreen: true, wmode: "opaque" };


I didnt have a way to test it besides just seeing if it didnt brake anything, and it didnt, so its pushed up to prod. Let me know if this fixes the issue for you. I also looked up the param and it does in fact seem like the solution you where looking for :) Thanks for experimenting with tubalr!


Thanks for putting that in! It's working great for me!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: