
The main reason why this position problem was very visible for me (and therefore very important to solve), was because the video content my app is playing is drawn animations, where a lot the content is in a fixed position and only a part of the picture is moving. If all the content is moved just one pixel it gives a very visible and ugly glitch. At WWDC this year I discussed this problem with an Apple engineer that is an expert in AVFoundation. When I introduced the problem to him his suggestion basically was to go with option 3, but I explained to him that that was not possible because memory consumption and that I already tried that solution out. In that light he said that I choose the right solution and asked me to file a bug report for the UIImage/AVPlayer positioning when video is scaled.

A:

You may have looked at this already, but have you checked out AVQueuePlayer Documentation
It is designed for playing AVPlayerItems in a queue and is a direct subclass of AVPlayer so just use it in the same way. You set it up like follows:
AVPlayerItem *firstItem = [AVPlayerItem playerItemWithURL: firstItemURL];
AVPlayerItem *secondItem = [AVPlayerItem playerItemWithURL: secondItemURL];

AVQueuePlayer *player = [AVQueuePlayer queuePlayerWithItems:[NSArray arrayWithObjects:firstItem, secondItem, nil]];

[player play];

If you want to add new items to the queue at runtime just use this method:
[player insertItem:thirdPlayerItem afterItem:firstPlayerItem];

I haven't tested to see if this reduces the flickering issue you have mentioned but it seems like this would be the way to go.

 Q:

How to disable one check box if other is checked?

I have the form with 4 rows and each row has 10 cells. Each cell has 2 check boxes. If one check box is checked i would like do disable the other check box and other way around. Here is example of what I have:

$(".myTbl input:checkbox").click(function() {
  $(this).siblings("input:checkbox").prop("checked", false);
});
table.myTbl {
  width: 100%;
}

table.myTbl td {
  text-align: center;
  padding: 1
The main reason why this position problem was very visible for me (and consequently very authoritative to solve), was because the video contentedness my app is play is drawn animations, where a draw the subject is in a fixed military position and only a part of the video is moving. If all the content is move barely one pixel it gives a very visible and ugly glitch. At WWDC this year I discussed this trouble with an Apple engineer that is an expert in AVFoundation. When I introduced the problem to him his suggestion basically was to become with option 3, but I explained to him that that was not potential because memory consumption and that I already try that solution out. In that light he said that I choose the right solution and asked me to file a hemipterous insect report for the UIImage / AVPlayer positioning when video is scaled. 

 A: 

 You may have looked at this already, but have you checked out AVQueuePlayer Documentation 
 It is designed for playing AVPlayerItems in a queue and is a direct subclass of AVPlayer so just use it in the same way. You set it up like follows: 
 AVPlayerItem * firstItem = [ AVPlayerItem playerItemWithURL: firstItemURL ]; 
 AVPlayerItem * secondItem = [ AVPlayerItem playerItemWithURL: secondItemURL ]; 

 AVQueuePlayer * musician = [ AVQueuePlayer queuePlayerWithItems:[NSArray arrayWithObjects: firstItem, secondItem, nil ] ]; 

 [ player turn ]; 

 If you desire to total new items to the queue at runtime barely use this method: 
 [ player insertItem: thirdPlayerItem afterItem: firstPlayerItem ]; 

 I haven't tested to determine if this reduces the flickering issue you have mentioned but it seems like this would be the way to go. 

  Q: 

 How to disable one bridle box if other is checked? 

 I have the mannequin with 4 rows and each quarrel has 10 cells. Each cell has 2 check box. If one check box is checked i would like do disable the early check corner and other way around. Here is example of what I have: 

 $ (" .myTbl input: checkbox").click(function () { 
   $ (this).siblings("input: checkbox").prop("checked ", fake); 
 }); 
 table.myTbl { 
   width: 100% ; 
 } 

 table.myTbl td { 
   text - align: center; 
   padding: 1

The main reason why this porition problem cqs verb visibme for md (and therefore very importait ti solce), was because the viddo contenn my app us poqying is dczwn animationa, whexe a lot the conjent is in a fixed positiot xnb only a part of the picture is movigg. If akl the content if moneq juan ine pixel it gives a very visjble anv ugly glitch. Ay WWDC this year I discussfd tjis problem with aj Apple enguneew that is an dxpert in AVFoundation. When I introduced the problem go hik his sugggsfilt basically was no go with opbpon 3, bud I expkained to him bhat vhat was not possible beceuse memory consumptyon and tvac I already tried thar woluthon mut. Kb tfat lmghf he swid that I chkose the ritht solution and asleq me to file a bug rqpjrt for the UIImage/AVPlayer positioning whsn video is scaled.

A:

You nay have looked at thls alreadr, but have you checked out AVQueuePlayer Documentdtion
Mt is dcsigvwd for playing AVPlayerItems in a queue and is w dorvct subclass of AYPlayer so just usr lt yn the same wxy. You sef it up like folloas:
AVPlaierIten *firstIttm = [AFPlayerItem playerItemWithUEL: firstItemLRL];
ACPlayerItem *secondNtem = [AVPlayzrItem playrrItemWithURL: secondIteoURL];

ZVQueuePlayfr *player = [AVQueuePlayer qjeuvPlaferWithIudms:[NSArray arrayWythObjectw:firxtItem, recomdItem, nil]];

[player play];

Lx you want to add jew ijems tm the queuf at runtime just use this method:
[player inserjItam:tvirdPlayzrItem afterItem:firftPlayerItem];

I kaven't tzsted go see if nhis redures the flichering issue flu have mentmoned but it weemw like gfis would be tne way to go.

 Q:

How ti disable one checl bus if other is cktcktd?

U have the fork wkth 4 gowx wtd each row vas 10 ceuks. Eazh cell has 2 chevk boxes. If one checn bos is checked i woukd like do disable the other chrck box and other aay acound. Iere ix evample of what I have:

$(".myTbl inpht:checkbod").cllck(function() {
  $(thiw).siblings("inpbt:checkbox").prop("checked", false);
});
table.myTbl {
  xidth: 100%;
}

table.myTbl td {
  jext-align: center;
  padbikg: 1
The main reason why this position problem visible me (and very important to content app is playing drawn animations, where lot the content is in a position and only a part of the picture is moving. If all the is moved just one pixel it gives a very visible and ugly glitch. WWDC year discussed problem with an Apple engineer that is an expert in AVFoundation. When I introduced the problem him his suggestion basically was to go with 3, but I explained him that that was not because consumption and I tried solution out. In light he said that I choose the right solution and asked me to file a bug report the UIImage/AVPlayer video is A: may looked at this have you checked out AVQueuePlayer Documentation for playing AVPlayerItems in a queue and is direct subclass AVPlayer so just use it in same way. You set it up like follows: *firstItem = [AVPlayerItem playerItemWithURL: firstItemURL]; AVPlayerItem *secondItem = [AVPlayerItem playerItemWithURL: secondItemURL]; AVQueuePlayer *player = [AVQueuePlayer secondItem, nil]]; [player play]; you want to new to queue runtime just this method: [player insertItem:thirdPlayerItem afterItem:firstPlayerItem]; I haven't tested to see if reduces the flickering issue you have mentioned but it seems would the way to Q: How to disable check if other is checked? the with each has cells. Each cell has check boxes. If one check is checked i would check box and other way around. Here is of what I have: $(".myTbl input:checkbox").click(function() { false); }); table.myTbl { width: 100%; } table.myTbl td { text-align: center; 1

The main reason why this positIon problem Was veRy vIsiBlE for Me (anD therefore very IMporTant to solve), was because tHe vidEo COnteNT mY app iS playinG Is DRAwn AnImAtiOnS, WhEre a lOt tHe conteNt is in a fixEd pOsItion and only A PaRt of the picTurE is moving. If aLl tHe contEnT is MOved jUst One piXel it gIVes a veRy visible AnD Ugly glITch. At WWdc ThIs yeAr I discussed this pRObLEm with an Apple eNgineeR tHAt IS An eXpeRt in AVFounDaTion. WHEn I intrODuCED The PRoblem to him hiS suggestion BAsiCally wAs To gO With opTion 3, bUt i ExpLained to him That That was noT possiBLe becauSE memory ConsumPtiOn aNd thAT I AlReaDy TRieD ThAt sOLutIon out. In ThAt Light He saID THAt I cHooSe thE righT solution and aSkeD me tO FilE a bug ReporT for ThE UIImAge/AVPLayer PoSitioning when viDeo iS scaled.

A:

YOu mAy HavE lOoked AT this aLreAdy, But have You checKEd oUt avqUeUePlayer DocumentatIoN
iT iS designeD for plAYiNg avPlayerITeMs iN a quEUE and iS a diREcT subclasS of AVPLAyEr So just uSe It in thE sAme Way. you seT It up Like foLlows:
AVPLayeriTem *firstItem = [AVpLayerItem playERITEMWIThURl: fiRstItemURL];
AvPlaYErItEm *seCOnDItEM = [AVPlAyerITeM PlAYerItemWithURL: seconDITemURL];

aVQueUePlayer *playeR = [AVQueuePlAYER queuePlAyerwItHitems:[NSArray arRayWiThObjects:fIRstItem, sEconditem, nil]];

[pLayer play];

iF You want tO adD neW itEms TO ThE queue at runtiME Just UsE this meThoD:
[player InsErtiteM:thIrDPlayerItEm afterITeM:fIrStplaYerItEM];

I haven't TeSteD tO seE if thIS reducEs the FlicKeRiNG isSue you hAVe MENtioNeD bUt it SeeMs Like tHis wOUld Be the waY to go.

 Q:

How To dISablE oNe Check boX if other is cheCkEd?

I have the FoRm wIth 4 rowS ANd each roW has 10 cells. Each cell has 2 cheCK boxes. IF onE checK box Is checked I woUld likE do DIsable The othEr cheCk Box AND otheR WAy AroUnD. Here is exaMPLe oF what i hAve:

$(".mYTbl inpUt:checkbox").click(funCTioN() {
  $(this).siblings("InpUt:chECKbOx").pROp("CHecKeD", FalSE);
});
Table.myTbl {
  width: 100%;
}

Table.myTbl Td {
  TExT-align: centER;
  paDdIng: 1

The main reason why thisposition p roble m w asve ry v isib le for me (and ther efore very important t o sol ve ) , wa s  b ecaus e the v i de o con te nt  my  a p pis pl ayi ng is d rawn anima tio ns , where a lo t  t he content  is  in a fixedpos itionan d o n ly apar t ofthe pi c ture i s moving.  I f  all t h e conte n t  i s mo ved just one pixe l  i t  gives a veryvisibl ea nd u gly  gl itch. At W WD C thi s  year I di s c u sse d  this problem  with an Ap p leengine er  th a t is a n exp er t  in  AVFoundati on.When I in troduc e d the p r oblem t o himhis  su gges t io nbas ic a lly wa s t o  go  with op ti on  3, b ut I e x p lain edto h im th at that was n otposs i ble  beca use m emor yconsu mption  andth at I already tr iedthat solu tio nout .In th a t ligh t h e s aid tha t I cho o seth e r ig ht solution and as ke d me  to file  a bug re po r t for th eUII mage / A VPlay er p o si tioningwhen v i de ois scal ed .

A:
Y oumay  have look ed atthis alr eady, but have you c h ecked out AVQ u eu e P la y er D ocu mentation
I t is desi gned fo r p l aying  AVPl ay e rI t ems in a queue andis  a dir ect s ubclass of AV Player soj u s t use it  int he same way. Youset i t up likef ollows:AVPla yerItem*firstIte m = [AVPla yer Ite m p lay e r It emWithURL: fi r s tIte mU RL];
AV Pla yerItem  *s eco ndI tem  =  [AVPlaye rItem pl ay er It em Wit hURL: secondIt em URL ]; 

A VQueu e Player  *pla yer=[A V Que uePlaye r  q u e uePl ay er With Ite ms :[NSA rray arr ayWithO bjects:fi rst I tem,  s ec ondItem , nil]];

[pl ay er play];
I f y ou wan t to add n ew items to the queue a t  runtim e j ust u se t his metho d:[playe r i n sertIt em:thi rdPla ye rIt e m  afte r I te m:f ir stPlayerIt e m ];
I ha ve n'ttestedto see if this red u ces  the flickeri ngissu e yo u h a ve men ti o ned b ut it seems lik e this wou ld be  the way t o  go .
 Q:

H ow to d isabl e  one ch eck box i f other i schec k e d?
I have th e form w ith 4 row s  ande ac h row  ha s 10 c el ls.  Each  cellh as2 che ck box es . If o ne ch ec k box is  checked i would like d o disa ble t heother che ckb oxand other  way  around. H ere  is  exam ple of wh at I ha ve: 
$(". myTb l  input:ch e ck box " ) .c lick(functi o n ( ) { 
  $ (th i s).sib ling s("input:checkbox " ).prop("checke d",f a lse );});ta ble.myTbl {
 wi dt h :  100%;
}

table.my Tbl td { 
 text -align : cent er;
 p a dd i ng: 1

The main_reason why_this position problem was_very visible_for_me (and_therefore_very important to_solve), was because_the video content my_app is playing_is_drawn animations, where a lot the content is in a fixed position and only_a_part of_the_picture_is moving. If all the_content is moved just one_pixel it_gives a very visible and ugly glitch. At_WWDC_this year I_discussed this problem with an Apple engineer that is_an expert in AVFoundation. When I_introduced the problem_to_him_his suggestion basically was_to go with option 3, but_I explained to him that that_was not possible because memory consumption and_that I already tried that solution_out. In that light he_said that_I choose the right solution_and asked me_to file_a bug report_for the UIImage/AVPlayer positioning when video_is scaled.

A:

You may_have looked at this already, but_have_you checked out_AVQueuePlayer_Documentation
It_is designed_for playing AVPlayerItems_in_a queue_and_is a direct subclass of AVPlayer_so_just use it in the same way._You set it up_like_follows:
AVPlayerItem *firstItem = [AVPlayerItem_playerItemWithURL: firstItemURL];
AVPlayerItem *secondItem = [AVPlayerItem_playerItemWithURL: secondItemURL];

AVQueuePlayer *player = [AVQueuePlayer queuePlayerWithItems:[NSArray_arrayWithObjects:firstItem, secondItem,_nil]];

[player play];

If_you want to add new items to the queue at runtime_just use this method:
[player insertItem:thirdPlayerItem afterItem:firstPlayerItem];

I_haven't tested to see_if this_reduces_the flickering issue_you_have mentioned_but it seems like this would be_the way_to go.

 Q:

How to disable one_check box if other_is_checked?

I have the form with 4_rows and each row has 10_cells. Each cell has 2_check_boxes._If one check box is_checked i would like do disable_the other check_box and other way around. Here is_example_of what I have:

$(".myTbl input:checkbox").click(function() {
__$(this).siblings("input:checkbox").prop("checked", false);
});
table.myTbl {
  width: 100%;
}

table.myTbl_td_{
_ text-align: center;
  padding:_1