Giusy Active Member Licensed User Aug 31, 2018 #1 Hi I have an example for utilize simpleExoPlayerView for mp4. But I don't want the interface. Have you a sample example for SimpleExoPlayer without interface? Thanks
Hi I have an example for utilize simpleExoPlayerView for mp4. But I don't want the interface. Have you a sample example for SimpleExoPlayer without interface? Thanks
LucaMs Expert Licensed User Longtime User Aug 31, 2018 #2 You can use a SimpleExoPlayerView disabling "Use Controller": Upvote 0
Giusy Active Member Licensed User Aug 31, 2018 #3 Hi @LucaMs I went on foreign threads to not bother you anymore Tank you, it work very well Upvote 0
LucaMs Expert Licensed User Longtime User Aug 31, 2018 #4 Giusy said: I went on foreign threads to not bother you anymore Click to expand... Do not worry; if you had disturbed me, I simply would not have answered Upvote 0
Giusy said: I went on foreign threads to not bother you anymore Click to expand... Do not worry; if you had disturbed me, I simply would not have answered
Giusy Active Member Licensed User Aug 31, 2018 #5 @LucaMs do you know if is possible to eliminate the interface also in videoview? (I like videoview because the last image is not erased, instead simpleexoplayer let me see a black screen between two mp4) Thanks Upvote 0
@LucaMs do you know if is possible to eliminate the interface also in videoview? (I like videoview because the last image is not erased, instead simpleexoplayer let me see a black screen between two mp4) Thanks
LucaMs Expert Licensed User Longtime User Sep 1, 2018 #6 Ha una proprietà praticamente uguale: https://www.b4x.com/android/help/audio.html#videoview_mediacontrollerenabled di default il "controller" non è visibile. Attenzione che non consente la riproduzione dei file che stiano nella DirAssets, dovresti prima copiarli da questa alla DirInternal (o altra) e poi eventualmente cancellarli da qui nell'evento Activity_Pause se UserClosed sia True. Inoltre, non puoi creare la view nel Designer, solo da codice. Upvote 0
Ha una proprietà praticamente uguale: https://www.b4x.com/android/help/audio.html#videoview_mediacontrollerenabled di default il "controller" non è visibile. Attenzione che non consente la riproduzione dei file che stiano nella DirAssets, dovresti prima copiarli da questa alla DirInternal (o altra) e poi eventualmente cancellarli da qui nell'evento Activity_Pause se UserClosed sia True. Inoltre, non puoi creare la view nel Designer, solo da codice.
LucaMs Expert Licensed User Longtime User Sep 1, 2018 #7 Giusy said: instead simpleexoplayer let me see a black screen between two mp4 Click to expand... Se è il colore nero che ti infastidisce (e non lo "stacco")... https://www.b4x.com/android/forum/t...ckground-color-from-player.77285/#post-574577 Upvote 0
Giusy said: instead simpleexoplayer let me see a black screen between two mp4 Click to expand... Se è il colore nero che ti infastidisce (e non lo "stacco")... https://www.b4x.com/android/forum/t...ckground-color-from-player.77285/#post-574577
Giusy Active Member Licensed User Sep 1, 2018 #8 Buongiorno Per videoview ho usato questo codice (ed insieme a mediacontrollerenabled è perfetto grazie): Code: Copy File.Copy(File.DirAssets, "film.mp4", File.DirInternal, "film.mp4") vv.LoadVideo(File.DirInternal, "film.mp4") vv.Play Giusto il fatto di cancellare il file ma quando batto vv. non mi esce nessun suggerimento che somigli a delete, quale è l'istruzione giusta? SimpleExoPlayer crea lo stacco tra un filmato e l'altro, mentre videoview è fluido. Upvote 0
Buongiorno Per videoview ho usato questo codice (ed insieme a mediacontrollerenabled è perfetto grazie): Code: Copy File.Copy(File.DirAssets, "film.mp4", File.DirInternal, "film.mp4") vv.LoadVideo(File.DirInternal, "film.mp4") vv.Play Giusto il fatto di cancellare il file ma quando batto vv. non mi esce nessun suggerimento che somigli a delete, quale è l'istruzione giusta? SimpleExoPlayer crea lo stacco tra un filmato e l'altro, mentre videoview è fluido.
LucaMs Expert Licensed User Longtime User Sep 1, 2018 #9 Giusy said: Giusto il fatto di cancellare il file ma quando batto vv. non mi esce nessun suggerimento che somigli a delete, quale è l'istruzione giusta? Click to expand... Intendevo dire che alla chiusura dell'app (nell'evento Activity_Pause se UserClosed è True) oppure quando l'utente voglia visualizzare un file diverso, conviene eliminare il file copiato nella DirInternal, visto che occuperà spazio. Il comando è il normale comando per la cancellazione di file, File.Delete(File.DirInternal, "NomeFile"). Upvote 0
Giusy said: Giusto il fatto di cancellare il file ma quando batto vv. non mi esce nessun suggerimento che somigli a delete, quale è l'istruzione giusta? Click to expand... Intendevo dire che alla chiusura dell'app (nell'evento Activity_Pause se UserClosed è True) oppure quando l'utente voglia visualizzare un file diverso, conviene eliminare il file copiato nella DirInternal, visto che occuperà spazio. Il comando è il normale comando per la cancellazione di file, File.Delete(File.DirInternal, "NomeFile").
Giusy Active Member Licensed User Sep 1, 2018 #10 Grazie @LucaMs, perfetto Buon weekend, lo prometto.... scompaio Upvote 0
LucaMs Expert Licensed User Longtime User Sep 1, 2018 #11 Giusy said: Buon weekend, Click to expand... Ache a te. Giusy said: lo prometto.... scompaio Click to expand... No, che c'è già un fantasma, in giro (@udg) Upvote 0
Giusy said: Buon weekend, Click to expand... Ache a te. Giusy said: lo prometto.... scompaio Click to expand... No, che c'è già un fantasma, in giro (@udg)
udg Expert Licensed User Longtime User Sep 1, 2018 #12 Huuuhhhhh, I am here ps: please recall this is the international section of the forum Upvote 0
LucaMs Expert Licensed User Longtime User Sep 1, 2018 #13 udg said: ps: please recall this is the international section of the forum Click to expand... Ops, I'm sorry. Upvote 0
udg said: ps: please recall this is the international section of the forum Click to expand... Ops, I'm sorry.