Jump to content

Ams Video Player Açma Sorunu


Ankara1703
 Share

Recommended Posts

S.a Arkadaşlar mesela ams de bir video player yaptım. Ve Masaüstünde yada herhangi bir yerde .mp4 uzantılı video var ben ona 2 kez tıklayınca win media playerle açıyo mesela . İşte Onu Birlikte açdan benim programı seçtm. Ama Açmadı, Sorunun Çözümü regeditten mi hallolacak yada nereden hallolabilir. Yani ben videoyu açmak için 2 kere tıkladığımda benim programla açıcak ve video bölümünden göstericek. Normalde Göstermiyor.

 

Çözüm İçin Teşekkürler....

Link to comment
Share on other sites

aşağıdaki örneği Page On Show'a yazarsanız birlikte aç veya program exe sinin üzerine sürükle bırak yöntemi ile bir mp4 dosyası gönderilirse program bu dosya yolunu dosya değişkeninde depolayacaktır. gerisi bu dosya yolunu video oynatacınıza göstermeye kalıyor.

if _CommandLineArgs[1] ~= nil then
	if String.SplitPath(_CommandLineArgs[1]) ~= ".mp4" then
	dosya = _CommandLineArgs[1]
	-- dosya değişkenini video oynatma kodunda kullanağınız bölüm
	end
end
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...