I'm trying to make an interactive pdf. I have Youtube linked videos and buttons to navigate pictures. But when I exported with interactive pdf it doesn't working.
Videos: With EPUB preview it's working but not with SWF preview. but again, when i exported to pdf(interactive) it's not working. No error messages or anything, It's just not working. I copied embed code from Youtube and pasted. (I wanted to use Media panel with 'Place video from URL' but it keeps making error that says 'The URL must start with http:// or rtmp:// and must end with valid video file extension').
Buttons: I have multiple pictures to show, so I used Object State panel and created buttons. it's working in both EPUB and SWF preview, but when I exported to pdf (interactive) it is not!!
Although hyperlinks and imported local video are working, linked video and buttons are not working.
I'm using Indesign CC 2015 and Adobe Acrobat DC
Short answer: You're referencing three totally different technologies—interactive PDF, SWF (Flash) and EPUB. Each technology has different rules for which kinds of videos are supported (and how they are referenced), what button actions/methods are used and what doesn't work, and whether some forms of interactivity work or don't.
Long answer: I'm not going to attempt to answer your melange of questions, but I'm going to point you to a very good resource for learning how each of these technologies are intended for, what they do and what they don't do.
This is probably the best and most up-to-date on how these technologies work out of InDesign CC 2015: